fork download
  1. /* package whatever; // don't place package name! */
  2. import java.util.*;
  3. import java.lang.*;
  4. import java.io.*;
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone
  7. {
  8. public static void main (String[] args) throws java.lang.Exception
  9. {
  10. System.out.println("Hello World");
  11. }
  12. }
  13.  
  14.  
  15.  
Success #stdin #stdout 0.02s 5308KB
stdin
Standard input is empty
stdout
Hello World
Done.
Stack size 0
Heap size 0