ran1 fixed javaapplication1.java