Added sample java file