Update HelloWorld.java

check 25 seconds limit