New answers tagged

14

No, there isn't. Slashes work everywhere, backslashes work only on Windows and are a pain to type and read. They are used only by people who mistakenly think they have to use them. But of course, you should really be using the Paths API (documentation for JDK8, JDK9) and never write explicit path separators anyway.



Top 50 recent answers are included