![]() |
JAVA EXAMPLE PROGRAMS |
Publish Your Article Here
|
|
|
Java2Novice - YouTube Channel
Knowledge Centre
What is fail-fast in java?
A fail-fast system is nothing but immediately report any failure that
is likely to lead to failure. When a problem occurs, a fail-fast system
fails immediately. In Java, we can find this behavior with iterators.
Incase, you have called iterator on a collection object, and another
thread tries to modify the collection object, then concurrent modification
exception will be thrown. This is called fail-fast.
Famous Quotations
If you don’t make mistakes, you’re not working on hard enough problems. And that’s a big mistake.
-- Frank Wilczek
Few Random Java Examples
|
Reference: Java™ Platform Standard Ed. 7 - API Specification | Java™ Platform Standard Ed. 8 - API Specification | Java is registered trademark of Oracle. |
Privacy Policy | Copyright © 2022 by Nataraja Gootooru. All Rights Reserved. |