Skip to content
Sharp

Collections · interview question

Which of the following is true about ArrayLists?

Multiple choiceEasychapter-4-curatedpremiumcollectionslist-interface-and-arraylist
Choose one answer
Answer and explanation

Correct answer

B. They maintain the order of insertion.

Why

ArrayLists maintain the order of insertion, meaning elements are stored in the sequence they are added. They allow duplicate elements and their size can change dynamically.

Test yourself on Collections

A free test with instant, explained results. No account needed.

Start free test
All Collections questions →