Sample java file