fork download
  1. /* package whatever; // don't place package name! */
  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. int[] r1 = {1,3};
  13. int[] r2 = {4,5};
  14. char[] r3 = {'a'};
  15.  
  16. int tamano1 = r1.length;
  17. int tamano2 = r2.length;
  18. int tamano3 = r3.length;
  19.  
  20. for(int i=0; i<=tamano1; i++){
  21. for(int j=0; j<=tamano2; j++){
  22. for(int x=0; x<=tamano3; x++ ){
  23. system.out.println(r1[i]+r2[j]+r3[x]);
  24. }
  25.  
  26. }
  27. }
  28. }
  29. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:23: error: package system does not exist
		 			system.out.println(r1[i]+r2[j]+r3[x]);
		 			      ^
1 error
stdout
Standard output is empty