Update Midterm.java