Could you tell me how to get size of reserved array ?
Look this:
public static String arr_list[][][][][]= new String[2][10][10][2][5];
I know it's big array.
I place data there, and want to get the data size of the third element.
arr_list[0][0].length
- but it still returns 10
.
But on [0][0]
I have only 4 values:
arr_list[0][0][0]..
arr_list[0][0][1]..
arr_list[0][0][2]..
arr_list[0][0][3]..
How to return 4
, not 10
?