Update Sample.java