Sometimes need to know path to your working directory.
It is very easy. Here I am going to show snippet of code which helps with this:
System.getProperty("user.dir");It returns String. Call it and you will know your current working directory.
No related posts.

Recent Comments