Small Formatting Tricks
Java uses the \ in output statements to indicate formatting
\t tab, \n newline, \” double quote, \’ single quote, \\ backslash
“Name\tDOB” results in
Name DOB
“foo\n\nbar” results in
foo
bar
Previous slide
Next slide
Back to first slide
View graphic version