fork download
  1.  
  2. public class Massive {
  3.  
  4. public static void main(String[] args) {
  5.  
  6.  
  7. int[][] numbers = new int[3][5];
  8.  
  9. for(int i=0; i<numbers.length; i++ ){
  10. for(int j=0; j<numbers[i].length; j++){
  11. numbers[0][j] = j + 1;
  12.  
  13.  
  14. System.out.print(numbers[i][j]);
  15.  
  16. }
  17.  
  18. System.out.println();
  19. }
  20.  
  21. }
  22.  
  23. }
  24.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:2: error: class Massive is public, should be declared in a file named Massive.java
public class Massive {
       ^
1 error
stdout
Standard output is empty