Why must 4? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
Lucky Dimas - avatar
1 Answer
0
Thanks
20th Apr 2019, 7:36 AM
Lucky Dimas
Lucky Dimas - avatar