Blog Archives

Top 5 Core Java Exceptions and best practices

#1: ConcurrentModificationException Getting a ConcurrentModificationException when trying to modify (i.e. adding or removing an item) a collection while iterating. The following code throws a ConcurrentModificationException. To avoid ConcurrentModificationException in a single-threaded environment, you can remove the object that you are working on with the iterator. … Read more ›...



800+ Java Interview Q&As

Java & Big Data Tutorials

Top