Added a Java file

Sample Java file