Update Prob002.java