Podcast
Questions and Answers
Which class can be used to read input from the console in Java?
Which class can be used to read input from the console in Java?
- Scanner (correct)
- System.in
- System.out
- println
What does the syntax 'new Scanner(System.in)' create?
What does the syntax 'new Scanner(System.in)' create?
- A variable named Scanner
- An object of the Scanner type (correct)
- A new input device
- A new output device
Which device does Java use to refer to the standard output?
Which device does Java use to refer to the standard output?
- System.out (correct)
- Scanner
- println
- System.in
What is the default output device in Java?
What is the default output device in Java?
What is the default input device in Java?
What is the default input device in Java?
Which class can be used to read input from the console in Java?
Which class can be used to read input from the console in Java?
Which device does Java use to refer to the standard output?
Which device does Java use to refer to the standard output?
What does the syntax 'new Scanner(System.in)' create?
What does the syntax 'new Scanner(System.in)' create?
What is the default input device in Java?
What is the default input device in Java?
What is the default output device in Java?
What is the default output device in Java?
Flashcards are hidden until you start studying