Q. Which collection class allows duplicate elements?
Solution:
ArrayList allows duplicate elements, unlike Set implementations which do not.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
ArrayList allows duplicate elements, unlike Set implementations which do not.
Strengthen Your Practice with our comprehensive question bank.