This content has been marked as final. Show 3 replies
EJP wrote:This also gives me the absolute path and not the relative path.
Ok. i will explain my situation more clearly.
For example, this is my file path
and my java file is running in the directory
In this case,
The absolute path of the a.txt is
and the relative path is
Am i right here?