Update Java_HW2.java