fork download
  1.  
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. ArrayDeque<String> lista = new ArrayDequet<String>();
  13. Random randomGenerator = new Random();
  14. for(int n=0; n < randomGenerator.nextInt(50);n++){
  15.  
  16. for(int k=0; k < randomGenerator.nextInt(50);k++){
  17. lista.offer("a");
  18. System.out.print("a");
  19. }
  20.  
  21. }
  22. }
  23.  
  24. }
  25. }
  26.  
  27.  
  28.  
  29.  
Compilation error #stdin compilation error #stdout 0.04s 4386816KB
stdin
Standard input is empty
compilation info
Main.java:25: error: class, interface, or enum expected
}
^
1 error
stdout
Standard output is empty