+ 1

What's the logic here in array

Logic behind this the out is 211 can someone tell me class Arr { public static void main(String args[]) { int [] a= {1}; int []b[]={{1}}; int [][]c[]={{{1}}}; int [][]d[][]={{{{1}}}}; System.out.println(a[0]+b[0][0]+""+c[0][0][0]+d[0][0][0][0]); } }

3rd Sep 2019, 9:13 AM
Dprincebh
Dprincebh - avatar
4 Antworten
+ 1
~ swim ~ help me out here
3rd Sep 2019, 9:14 AM
Dprincebh
Dprincebh - avatar
+ 1
That's well details thanks ~ swim ~
3rd Sep 2019, 9:29 AM
Dprincebh
Dprincebh - avatar