1.7 Java Format using System.out.print

Controlling System.out.println
Use the following printer control code to format your output.

Control Code What it means
\n new line
\r return character
\t tab
\b backspace
\” double quote
\’ single quote
\\ backslash

System.out.println(“if you need a backslash in your output use two \\”);
System.out.println(“Do you need a question mark in your output\?  use\\?”);