Ok this is a homework questions, but I cannot find the answer anywhere, not even in the book.
Path to Files
If the user wants to specify a path for a file, the typical forward slash is replaced by __________________.
can you help?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try using double back-slashes. (\\)
However, the more portable solution is to use File.separator, as described here.