hi,
let say i have an array that is long enough to access any of its index with int
, is there any way to access the index of such an array with long
? and how the java handles this kind of array?
e.g.
int[] a = new int[]{1,5,2,4........9,2,1}
assume in above array that 9,2,1
are at indices that are beyond the range of int
(2^32).
how would i access these?
thx :)