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 is a very familiar exception when working with Java collection classes. Classes in the Java collection are fast, which means that 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 […]

Example of a Java ZIP file folder

Today we’re going to look at a sample Example of a Java ZIP file folder. We will also compress a folder and create a zip file using the Java program. Java ZIP can be used to compress a file in ZIP format. A ZIP file can carry multiple entries and ZipOutputStream uses to […]

Java Inner Class

The inner Java class defines the body of another class. The inner class can define as private, public, secure, or with standard access, while an outer class can only have public or standard access. Therefore the Java nested classes have two types. 1. Static nested class If the nested class is static then it is […]

Java8 Core API Improvements

In this article, we will learn about the Java8 Core API Improvements. A few different API improvements that might come in handy includes Static ThreadLocal with Initial method (Provider provider) to easily create instances. The user interface improves with many standard and static modes for natural layout, inverted layout, etc. Therefore min(), max(), and sum() […]

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