AP Computer Science Amediummcq1 pt
An enhanced for loop does not provide
A.the index of each element
B.the value of each element
C.access to all elements
D.the array's element type
For-each yields values only.
Athe index of each element
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →