[x]
consider the following code can anyone explain me wat exactly is this code upto:?...thanks in advance
[/x]
[quoute]
public class Qaa75 {
public static void main(
String[] args) {
String[][][] arr = {
{ {}, null },{ { "1", "2" },{ "1", null, "3" } } ,{}{{ "1",null } }
};
System.out.println(arr.length + arr[1][2].length);
}
}
[/quoute]
[ans]
The above code when compiled gives an array index out of bound exception can anyone explain as in how it works....
and please give me a simple example of something else is well other then this code
Thanks[/ans]