Using Scanner Class to read user input in Java.

Published --