fork download
  1. class Tester
  2. {
  3. public static void main (String[] args)
  4. {
  5. int[][] array = {{1, 2}, {3, 4}};
  6. System.out.println(array[0][0]); //print first row, first column element
  7. }
  8. }
Success #stdin #stdout 0.07s 380224KB
stdin
Standard input is empty
stdout
1