如何在java程序中獲取當前程序所在的目錄?
Properties properties = System.getProperties();
System.out.println(properties.getProperty("user.dir"));
如何在java程序中獲取當前程序所在的目錄?
Properties properties = System.getProperties();
System.out.println(properties.getProperty("user.dir"));