Multiple Choice
Which of the following statements correctly creates a Scanner object for keyboard input?
A) Scanner kbd = new Scanner(System.keyboard) ;
B) Scanner keyboard = new Scanner(System.in) ;
C) Scanner keyboard(System.in) ;
D) Keyboard scanner = new Keyboard(System.in) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q27: What is the result of the following
Q28: What would be printed out as a
Q29: The primitive data types only allow a(n)
Q30: The boolean data type may contain which
Q31: Named constants are initialized with a value
Q33: The Java API provides a class named
Q34: When the + operator is used with
Q35: Which of the following is not a
Q36: What is the value of z after
Q37: If x has been declared an int,