What Do You Mean By Iterator Fail-fast Property?

devquora
devquora

Posted On: Feb 22, 2018

 

The Iterator fail-fast property test for any modification in the structure of the underlying collection every time we try to get the next element. If there are any modifications found, by CocurrentModificationException. The complete implementations of Iterator in Collection classes fail-fast by make except for the concurrent collection classes such as ConcurrentHashMap and CopyOnWriteArrayList.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Java Play Interview Questions

    What Is JAVA Play Framework?

    Play Framework makes it easy to build scalable, fast and real-time web applications with Java and Scala. In other words..

    Java Play Interview Questions

    What Do You Mean By The Java Collection Framework?

    Collections are utilized in various programming languages and basic release contained some classes for collections such..

    Java Play Interview Questions

    What Are The Advantages Of Collections Framework?

    Some of the advantages of collections framework are: The reduce development effort by using core collection classes rat..