+ 1

Why must 4?

public class Program { public static void main(String[] args) { int[ ][ ] sample = { {1, 2, 3}, {4, 5, > int x = sample[1][0]; System.out.println(x); } } // and the output is 4

20th Apr 2019, 7:16 AM
Lucky Dimas Yedija
Lucky Dimas Yedija - avatar
1 Answer
0
Thanks
20th Apr 2019, 7:36 AM
Lucky Dimas Yedija
Lucky Dimas Yedija - avatar