Update exam.java