Java 查找用户当前目录 Java Arrays hashCode Object Java 显示根目录listRoots Java 查找用户当前目录 public class Main { public static void main(String[] args) { String curDir = System.getProperty("user.dir"); System.out.println("You currently working in :" + curDir+ ": Directory"); } } Java Arrays hashCode Object Java 显示根目录listRoots