Single Choice Moderate

QOutput of a Java program appears in:

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

Choose the Best Option

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

  • A Console/Terminal
  • B Only printer
  • C Only file
  • D Nowhere
Correct Answer

Explanation

Correct Answer Explanation:

By default, System.out.println() sends output to the console (terminal window).

Why the other options are incorrect:

  • Option B: Programs don't automatically print to a printer.
  • Option C: Programs can write to files if coded to, but console is the default.
  • Option D: Output does appear — 'nowhere' is wrong.

Share This Question

Challenge a friend or share with your study group.