This question already has answers here:
Closed 4 years ago.
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("\");