fork(1) download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.util.Scanner;
  5. import java.lang.*;
  6. import java.io.*;
  7.  
  8. /* Name of the class has to be "Main" only if the class is public. */
  9. class firstprog
  10. {
  11. public static void main (String[] args) throws java.lang.Exception
  12. {
  13. Scanner str = new Scanner(System.in);
  14. System.out.print(str);
  15.  
  16.  
  17. }
  18. }
Success #stdin #stdout 0.1s 35436KB
stdin
Standard input is empty
stdout
java.util.Scanner[delimiters=\p{javaWhitespace}+][position=0][match valid=false][need input=false][source closed=false][skipped=false][group separator=\,][decimal separator=\.][positive prefix=][negative prefix=\Q-\E][positive suffix=][negative suffix=][NaN string=\QNaN\E][infinity string=\Q∞\E]