I know this isn't a difficult issue but I have come to a complete stand still, I want to print a two dimension array with values already assigned for example:
   int array1[][] = new int[1][1];
          array1[0][0] = 10;
          array1[0][1] = 20;
          array1[1][0] = 30;
          array1[1][1] = 40; 
I just want to simply print the values and I really can't remember how to do it, I keep on doing this
System.out.println(Arrays.toString(array1))`;
but I know this is wrong, can you help?
 
    