Q. Which of the following is used to read input from the user in Java?

  • (A) System.out.println()
  • (B) System.in.read()
  • (C) Scanner
  • (D) BufferedReader
πŸ’¬ Discuss
βœ… Correct Answer: (C) Scanner
Explanation: Scanner is used to read input from the user in Java.
Explanation by: Deepak Sahoo
Scanner is used to read input from the user in Java.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
352
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Deepak Sahoo
Publisher
πŸ“ˆ
88%
Success Rate