AP Computer Science Amediummcq1 pt
Which method converts an ArrayList of Integer to an int array?
A.none; a loop must copy the values
B.list.toArray()
C.list.toIntArray()
D.list.copyTo()
There is no direct conversion method.
Anone; a loop must copy the values
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →