eclipse - Invalid escape sequence \\ is used but it still doesnt work in java for my file path -
i have read other posts , answers , applied them still doesnt work.
i brand new java in class it's online , accelerated it's bit difficult me understand @ quick pace please bear me if don't understand.
string filename = "c:\\users\\jonathan lee\\eclipse-workspace\myfile.text";
i have , i've tried different amount of backslashes seems create more errors.
you have escape each backslash that: string filename = "c:\\users\\jonathan lee\\eclipse-workspace\\myfile.text"
Comments
Post a Comment