File file = new File(".");
String canonicalPath = file.getCanonicalPath();
System.out.println(canonicalPath);
将代码放入你要查询代码即可
File file = new File(".");
String canonicalPath = file.getCanonicalPath();
System.out.println(canonicalPath);
将代码放入你要查询代码即可