Examveda
Examveda

Which of the following statements is true about ArrayLists in Java?

A. ArrayLists can only store primitive data types.

B. ArrayLists can have duplicate elements.

C. ArrayLists are fixed in size.

D. ArrayLists can only store Strings.

Answer: Option B


This Question Belongs to Java Program >> Array

Join The Discussion

Related Questions on Array