Q. Which class in Java is used to take input from the user?

  • (A) Scanner
  • (B) Input
  • (C) Applier
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) Scanner
Explanation: The Scanner class is used to get user input, and it is found in the java. util package.
Explanation by: Team MCQ Buddy
The Scanner class is used to get user input, and it is found in the java. util package.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
281
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
98%
Success Rate