集册 Java实例教程 获取当前工作目录

获取当前工作目录

欢马劈雪     最近更新时间:2020-01-02 10:19:05

516
获取当前工作目录


public class Main {
/* 
*来 自
 nowjava.com - 时代Java
*/

  public static void main(String[] argv) {

    String curDir = System.getProperty("user.dir");

  }

}