โ Back to Printing
Question 267
Print Without a Newline
Print Without a Newline
UseSystem.out.print()(NOTprintln) twice to printSunandfloweron the same line with no space and no trailing newline, producing: Sunflower Because
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.