Which class is commonly used for taking console input in Java?

Last Updated :
Discuss
Comments

Which class is commonly used for taking console input in Java?


FileReader

Scanner

PrintWriter

StringReader

Share your thoughts in the comments