AP Computer Science Amediummcq1 pt
An ArrayList of String can store
A.only String objects
B.Strings and ints
C.any object type
D.only null
The type parameter constrains elements.
Aonly String objects
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →