Posts related to tag: Java


Finding a Specific Digit in a Number using Java

On this page, we’ll explore a simple yet common problem: finding a specific digit in a given number using Java. […] Continue reading »

Overview of Java 8 Date and Time API

Java 8 introduced a modern Date and Time API to address the shortcomings of the older java.util.Date and java.util.Calendar classes. […] Continue reading »

Java Records: Simplify Data Classes

The record keyword was introduced in Java 16. It is a feature that simplifies the creation of classes for data […] Continue reading »

Java ReentrantLock Example

In Java, ReentrantLock is a synchronization mechanism provided by the java.util.concurrent.locks package. It is an implementation of the Lock interface […] Continue reading »

Java Collections.min() and Collections.max() Methods

In this article, we will explore min() and max() methods of the Collections utility class. In Java, the Collections class […] Continue reading »

Method Reference in Java 8

In Java, method reference is a feature introduced in Java 8 that allows you to refer to a method by […] Continue reading »

System.arraycopy() vs. Arrays.copyOf() in Java

In Java, both Arrays.copyOf() and System.arraycopy() are methods used to copy elements from one array to another. But, they are […] Continue reading »

Java Objects Class Example

The Objects utility class is part of java.util package and was introduced in Java 1.7. It provides static methods that […] Continue reading »

Java StringJoiner Class: Simplify String Concatenation

Java 8 introduced a new utility class called StringJoiner, which provides a convenient and expressive way to join strings together […] Continue reading »

JsonMapperException: No JsonMapper class is found

You might have faced the below exception org.jobrunr.utils.mapper.JsonMapperException: No JsonMapper class is found. Make sure you have either Jackson, Gson […] Continue reading »

Java throw and throws Keywords

In this blog post, we will explore the purpose and usage of Java’s throw and throws keywords. Java provides two […] Continue reading »

1 2 3 4 5 9