Suppressed Exceptions with Example Java

In this article, we will learn about the Suppressed Exceptions with Example Java. Thrown exceptions as the name suggests are exceptions that are thrown in code but somehow ignored. If you remember the execution order of the try-catch-finally block and how it throws values ​​or exceptions, you will remember that the exceptions thrown in the […]

Functional Interfaces of Java 8

In this article, we will learn about the functional interfaces of Java 8. Java has always been an object-oriented programming language. This means that Java programming is all about objects (except for a few primitive types for simplicity). Not only do we have functions in Java, but they are also part of Class and we […]

java.util.ConcurrentModificationException

java.util.ConcurrentModificationException is a very familiar exception when working with Java collection classes. Classes in the Java collection are fast, which means that iterator.next() will throw ConcurrentModificationException. ConcurrentModificationExceptions can occur in a multi-threaded and single-threaded Java programming environment. java.util.ConcurrentModificationException Following is the ConcurrentModificationException scenario with an example. The above code will throw exception java.util.ConcurrentModificationException when the code executes […]

Begin typing your search term above and press enter to search. Press ESC to cancel.