Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does System.out.print("Hello") do?
Think about the format of the output.
What is the difference between print and println?
Focus on how the output is structured.
What is the output of System.out.print("Hello"); System.out.println("World");?
Focus on how they behave together.
True or False: println adds a newline after the output.
Think about how your messages would appear on the screen.
Create a program that uses print and println to ask for user input and display it formatted nicely.
Think about how to format your questions and responses.
Design an output format for a rewards program with both print and println based on user achievements.
Structure your output to enhance readability.
4 more questions in this section. Enroll free to practise them all.
Enroll free