AP Computer Science Aeasymcq1 pt
ArrayList uses the wrapper class Integer because
A.collections store objects, not primitives
B.Integer is faster than int
C.int is deprecated
D.Integer takes no memory
Generic types require reference types.
Acollections store objects, not primitives
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →