Q. Which class is used to read input from the console?
Solution:
The Scanner class, initialized with System.in, is used to read input from the console.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The Scanner class, initialized with System.in, is used to read input from the console.
Strengthen Your Practice with our comprehensive question bank.