Update hello.java

close Scanner()