AP Computer Science Aeasymcq1 pt
The expression a.length gives
A.the number of elements in the array
B.the last index
C.the first element
D.the sum of the elements
length is the array size.
Athe number of elements in the array
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →