Is arraylist fail fast?



Is arraylist fail fast?..

Answer / Jeetender Pal Singh

An ArrayList in Java is not a fail-fast collection, meaning it does not throw an exception when its structure is tampered with during iteration. However, some Collections like CopyOnWriteArrayList are fail-fast collections.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

How is the front of the queue calculated ?

1 Answers  


Can we modify final arraylist?

1 Answers  


Explain what is B-tree?

1 Answers   BPL,


where do you use double linked list?

1 Answers  


What is sorted map?

1 Answers  


What are the tasks performed during preorder traversal?

1 Answers  


How remove all from arraylist?

1 Answers  


How do stacks work?

1 Answers  


Which is better arraylist or linkedlist?

1 Answers  


How do you do a selection sort?

1 Answers  


Can hashmap have duplicate keys?

1 Answers  


Explain the principle of quicksort. What is its complexity?

1 Answers   HAL,


Categories