Read User Input Java with Scanner Class


/ Published in: Java
Save to your folder(s)

This snippet will allow you to read user's input when they write in the console. This method uses the Scanner class, which is my favorite way of doing instead of using the Buffered Reader, with the Scanner, you can also read from a file.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.