AP Computer Science Amediummcq1 pt
In an enhanced for loop, the loop variable type must
A.match the array element type
B.be int
C.be String
D.be boolean
The variable receives each element.
Amatch the array element type
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →