Sample Java