AP Computer Science Amediummcq1 pt
To print an array's elements in reverse order, use
A.a loop from a.length - 1 down to 0
B.a loop from 0 to a.length - 1
C.an enhanced for loop
D.a single print of a
Backward indexes print reversed.
Aa loop from a.length - 1 down to 0
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →