โ Back to Printing
Question 14
Print vs Println
Print vs Println
Use System.out.print() twice to display the following text on the same line: Java Programming The first print statement should output "Java " (with a space) and the second should output "Programming". Both words should appear on the same line with a space between them.
Expected Output:
Java Programming
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.