Update ComplexSample.java