Create HelloWorldApp.java

A sample program in Java