Update sample.java

810