Answers for "java how to get the current working directory"

2

how to get current directory in java

public class JavaApplication {
  public static void main(String[] args) {
    System.out.println("Working Directory = " + System.getProperty("user.dir"));
  }
}
Posted by: Guest on March-30-2021

Code answers related to "java how to get the current working directory"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language