CJCoding With Joseph
15free / daySign inCreate account

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!

= newline. No newline after the last line.

Topics:
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.