Single Choice Moderate

QSystem.out.println prints:

ID: #25880 MCQ Quiz - Class 8 - Programming 5 views
Question Info
#25880Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Line to console
  • B To printer
  • C To file
  • D Nowhere
Correct Answer

Explanation

Correct Answer Explanation:

System.out.println() prints a line of text to the standard output (console/terminal).

Why the other options are incorrect:

  • Option B: Printing to a physical printer requires different code.
  • Option C: Writing to files needs FileWriter or similar classes.
  • Option D: It definitely prints somewhere — 'nowhere' is wrong.

Share This Question

Challenge a friend or share with your study group.