Q: The second last element of an array of size 100 has index:
B
Answer:
B
Explanation:
Explanation:
Array indexing in Java starts from 0.
For an array of size 100, the last element has index 99.
The second last element has index 98.
Related Topic:
Share Above MCQ