Read/Write Java Object to a File
Making use of object serialization and deserialization to read and write Java object to a file.
Check if a Java String is Numeric or Alphanumeric
We can make use of regular expressions to know if a string is numeric or alphanumeric in Java.
Using Java JDK 22 with IntelliJ IDE
I will be showing how to make Java JDK 22 with IntelliJ IDE in this article with steps.
java.util.Optional Class Deep Dive Tutorial
Let us take a deep dive in the java.util package Optional class in Java.
When to use of() and ofNullable() methods of Optional in Java?
We answer when to make use of () and ofNullable() methods of Optional in Java.
How to create an Optional from existing Object in Java?
Let us take a look at how we can create an Optional from an existing Object in Java.
Java Program: Convert String to Double
Write a Java program to convert a String to Double.
Java Stream Convert List of Objects to List of Strings
Let us take a look at an example of how to convert a list of objects to a list of strings using Streams.
How to check if Java String is Empty or Null
Let us take a look at how to check if a String in Java is Empty or Null.
How to Join Two Arrays in Java using Stream API?
Let us take a look at how to join two arrays in Java using Stream API.
How to find duplicate elements in Java Stream?
Let us take a look at how to find duplicate elements in a Java Stream.
Fix: java: void cannot be dereferenced
Let us take a look at how to fix the error java: void cannot be dereferenced.
Deep Dive Java CharSequence Interface
Let us deep dive into the Java CharSequence Interface.
Java 8 Stream API peek() method with Example
What is the use of the peek() method in Java 8 Stream API with an example?
Java Program: Find max value in List using Java 8 Stream API
Write a program in Java to find max value in List using Java 8 Stream API
How to convert a String to Java 8 Stream of Char?
Let us take a look at how to convert a String object into a Java 8 Stream of Char with an example.
Java Program: Find Name of the Employee with Maximum Salary using Stream API
Write a Java Program: Find the Name of the Employee with the Maximum Salary using Stream API.
How to filter null values using Java 8 Stream API
Let us take a look at how to filter out null values using Java 8 Stream API.
Read a File Line By Line using Java 8 Stream API
Let us take a look at examples of how to read a file line by line using Java 8 Stream API.
How to Create and Run a Command Line Application using Spring Boot
Let us take a look at how to create and run a Command Line Application using Spring Boot - CommandLineRunner