Update JavaApplication4.java

Resubmission?