0
array
What is the maximum index of the following array? int[] arr = new int[] { 4, 5, 8 };
1 Answer
+ 2
as there are 3 elements in the array so the maximum index should be the last one which is 2
What is the maximum index of the following array? int[] arr = new int[] { 4, 5, 8 };