🎴 Flashcard Mode

Java Basic Online Quiz

Card1 / 29
Mastered0
Review0
QuestionClick to flip

If the last index of array list is 12, what is the length of the array?

AnswerClick to flip back
A
13
💡 Explanation:

In Java, array indexing is zero-based, meaning the first element is at index 0. If the last index of an array is 12, the total number of elements (the length) is 12 + 1 = 13.

Change Mode