AP Computer Science Amediummcq1 pt
Shifting every element one position left with a[i] = a[i + 1]
A.loses the first element
B.loses the last element
C.reverses the array
D.throws an exception
The first value is overwritten.
Aloses the first element
Practice more AP Computer Science A questions with full explanations
Practice Unit 6: Array Questions →