Adjusted Hello.java class