What is a file Separator?
What is a file separator in Java Program?
March 26, 2013 at 11:45 AM
The file separator is nothing but a character that we used to separate directory path names for a particular location. These file separator differently used in different operating system and this file separator is operating system dependent. For Microsoft Windows operating system we used back-slash character (), where as for Mac OS or unix based operating system, it is forward slash(/). You can find syntax with examples for file separator in Java in this link.
Related Tutorials/Questions & Answers: