Posts related to tag: Class


Exploring the Optional in Java 8

Java 8 introduced several new features to the language, including the Optional class. This class was introduced to address the […] 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 »

How to count total number of class objects created in Java

This example will help you to understand how to count the total number of class objects created in Java. 1. […] Continue reading »

Java 11- New Methods of String Class

Java 11 (JDK 11) added a few new utility methods in the String class. These utility methods will reduce the […] Continue reading »