testmidterm.java