根據文章目錄簡單生成目錄層級碼

類似於上圖所示目錄,生成層級碼 得到如圖所示類似的結果 方式一:遞歸方式 public class RankTest { static Integer a =0; static List strs = new ArrayList<>(); public static void main(String[] args) { List kk = new ArrayList(); kk.add(「1計算機
相關文章
相關標籤/搜索