CJCoding With Joseph

Print Without a Newline

Use System.out.print() (NOT println) twice to print Sun and flower on the same line with no space and no trailing newline, producing:

Sunflower

Because print does not add a line break, the two parts join together.

Expected Output:

Sunflower
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.