โ Back to Printing
Question 16
Multiple Prints Same Line
Multiple Prints Same Line
Use three System.out.print() statements to display the following sentence on one line: I love coding! First print statement: "I " Second print statement: "love " Third print statement: "coding!" Make sure to include spaces where needed so the words don't run together.
Expected Output:
I love coding!
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.