MCQ
What does the constructor of Scanner class accept to read from Keyboard (Standard input)?
  • System.in
  • B
    System. Out
  • C
    System. Read
  • D
    System. Scan

Answer

Correct option: A.
System.in
System.in

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free