Which of the following statements about ArrayList and HashMap are true?
Attachments:
Answers
Answered by
1
Answer:
iterator returned by ArrayList is fail-fast.
Explanation:
- both vector and ArrayList use growable array data structure.
- the iterator and listiterator returned by these classes are fail-fast.
- they are ordered collection classes as they maintain the elements insertion order.
- vector and ArrayList both allows duplicate and null values.
#SPJ2
Similar questions
Computer Science,
1 month ago
Science,
3 months ago
Computer Science,
3 months ago
English,
9 months ago