โ Back to Printing
Question 11
Print Three Lines
Print Three Lines
Use System.out.println() three times to display these three lines of text: Line 1 Line 2 Line 3 Each line should be printed using a separate println() statement. Remember that println() automatically moves to the next line after printing.
Expected Output:
Line 1 Line 2 Line 3
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท 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.