← Back to Printing
Question 11
Print Three Lines
Print Three Lines
UseSystem.out.println()three times to display these three lines of text (see Expected Output). Each line should be printed using a separateprintln()statement. Remember thatprintln()automatically moves to the next line after printing.
Expected Output:
Line 1 Line 2 Line 3
= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
Printing
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.