Scanner1.java

Code