Guide to the Sealed, permits, and non-sealed Modifiers in Java. Learn What are Java Sealed Classes and Sealed Interfaces and their use
Java Core Tutorials
Java Core defines the basics of Java Programming language and language fundaments
Create Immutable Value Objects using Java Record Classes
An Introduction to Java Record classes. We will learn to create Immutable data objects, or Value Objects using Java records.
How to write Java Streams Custom Collector
Hands on tutorial to write Java Streams Custom Collector and use it on Streams to collect Stream elements.
Java 8 Streams API – Stream Collectors
An in-depth guide to the Java Stream Collectors and its predefined collectors with the help of practical examples
How to generate Random Numbers in Java
Examples of How to generate Random Numbers like Integer, Double, Float, and Long using plain java and Apache Commons Maths.
Avoid NullPointerException using Java Optional
A detailed guide with examples to null values and NullPointerExceptions, and using Java Optional to avoid NullPointerException and null checks