Update Sample18.java