java hello world c code example Example: hello world in java public static void main(String[] args){ System.out.println("Hello World"); }