sample.java