Code: Select all
String[] numbers = new int[]{ "1", "2", "3", "4"}
String index = "2";
Code: Select all
${numbers[numbers[index-1]]}
How can it be "3", if this code will not compile?

1) int[] cannot be cast to String[]
2) no semi-colon after int[] array init;
P.S.: please, upgrade confirmation code generator! i have failed to correctly read it dosen times!
