Java and C Version: helloworld