I am learning how to create directories in Java. My teacher told me to use pathSeparatorChar instead of "\" in order to have compatibility with linux.
When I use File.pathSeparatorChar it is returning ";" instead of "\"
For example System.out.println(File.pathSeparatorChar) returns ";"
Some ideas?