Modified Sample15.java