Made demo java file a demo java file