打印字符数组
``` @Test
public void testGetDepth(){
String path="/付费/技术/test/222";
String[] split = path.split("/");
System.out.println(split.length);
System.out.println(Arrays.deepToString(split));
}
打印字符数组
``` @Test
public void testGetDepth(){
String path="/付费/技术/test/222";
String[] split = path.split("/");
System.out.println(split.length);
System.out.println(Arrays.deepToString(split));
}
本文标题:字符数组打印
本文链接:https://www.haomeiwen.com/subject/djwvurtx.html
网友评论