Single Choice Moderate

QReading input requires:

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

Choose the Best Option

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

  • A Scanner
  • B Printer
  • C String only
  • D None
Correct Answer

Explanation

Correct Answer Explanation:

In Java, the Scanner class is the standard way to read user input from the keyboard.

Why the other options are incorrect:

  • Option B: Printer is a made-up class name.
  • Option C: String stores text but doesn't read input.
  • Option D: Reading input needs a tool — 'none' is wrong.

Share This Question

Challenge a friend or share with your study group.