fork(5) download
  1. import java.io.*;
  2.  
  3. class Foo {
  4. public static void main(String[] args){
  5. args = new String[0];
  6. System.setIn(new ByteArrayInputStream(new byte[0]));
  7. // insert program here
  8. System.out.println("Hello, World!");
  9. }
  10. }
Success #stdin #stdout 0.09s 320576KB
stdin
Standard input is empty
stdout
Hello, World!