void main(String[] args){ hello(); // OK} void hello(){ System.out.println("Hello World!");}
Standard input is empty
Hello World!
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!