Home »
MCQs »
Java MCQs
Which class in Java is used to take input from the user?
11. Which class in Java is used to take input from the user?
- Scanner
- Input
- Applier
- None of these
Answer: A) Scanner
Explanation:
The Scanner class is used to get user input, and it is found in the java. util package.