0 votes
in JAVA by

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

1 Answer

0 votes
by

Solution: c) Scanner

Explanation: Scanner is used to read input from the user in Java.

Related questions

+1 vote
asked Feb 20, 2021 in Linux by SakshiSharma
0 votes
asked Jan 24, 2021 in JAVA by rajeshsharma
...