I want to print out a backslash. However, I get an error:
//Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )
System.out.println("\");
I want to print out a backslash. However, I get an error:
//Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )
System.out.println("\");
System.out.println("\\");
\
will escape the second \ character.