Sample Java Programs