### Java 8 – How to find common & uncommon elements from 2 Lists ?

July 27, 2023

In this article, we will discuss how to find and print common & uncommon elements from 2 Lists (or ArrayList) There are different ways to Read More

### Java 8 – Find employee count in each department ?

July 7, 2023

In this article, we will discuss how to find employee count in every department using Java 8 Stream API Find employee count in each department Read More

### Java – How to reverse a Queue ?

February 16, 2023

In this article, we will discuss how to reverse a Queue in different ways Reverse a Queue : There are different ways to reverse a Read More

### Java 8 – How to convert String to ArrayList ?

January 20, 2023

In this article, we will discuss how to convert Comma-separated string values into List or specifically ArrayList We will illustrate 2 examples for converting comma-separated Read More

January 19, 2023

January 16, 2023

January 15, 2023

### Java 8 – How to convert Celsius to Fahrenheit and vice-versa ?

September 25, 2022

In this article, we will learn how to convert Celsius to Fahrenheit and vice-versa 1. Convert Celsius to Fahrenheit : Single conversion using straight calculation Read More

### Java 8 – How to count length of last word in a String ?

September 19, 2022

In this article, we will learn how to count length of last word in a String using String‘s length() method Count length of Last word Read More

### Java 8 – How to remove last comma (,) from String ?

September 19, 2022

In this article, we will learn how to remove last comma (,) from a String using String‘s substring() method and Java 8 Stream Remove last Read More

### Java 8 – How to remove special characters from String ?

September 16, 2022

In this article, we will learn how to remove special characters from the given String Remove special characters from given String : Using Java 1.7 Read More

### Java 8 – How to check whether a number exists in an Arrays or List or Stream ?

September 15, 2022

In this article, we will learn how to check whether a particular number exists in an Arrays or List or Stream using Java 8 Stream Read More

### Java 8 – How to get all dates between two Dates ?

September 12, 2022

In this article, we will learn how to get all Dates between start Date and end Date using Java 7, Java 8 and Java 9 Read More

### Java 8 – How to sort List by OffsetTime in 4 ways ?

August 31, 2022

In this article, we will discuss and learn how to sort List by java.time.OffsetTime in ascending as well as descending order in different ways Sort Read More

### Java 8 – How to sort List by LocalTime in 4 ways ?

August 31, 2022

In this article, we will discuss and learn how to sort List by java.time.LocalTime in ascending as well as descending order in different ways Sort Read More

### Java 8 – How to get Number of Days in a Month from LocalDate ?

July 31, 2022

In this article, we will learn how to get number of Days in a Month from LocalDate and Calendar 1. Get Number of Days in Read More

### Java 8 – How to Sort List by OffsetDateTime in 4 ways ?

July 27, 2022

In this article, we will discuss and learn how to sort List by java.time.OffsetDatetime in ascending as well as descending order in different ways Sort Read More

### Java 8 – How to Sort List by ZonedDateTime in 4 ways ?

July 26, 2022

In this article, we will discuss and learn how to sort List by java.time.ZonedDatetime in ascending as well as descending order in different ways Sort Read More

### Java – How to add/remove/modify an element in List while iterating ?

July 20, 2022

In this article, we will discuss and learn with different illustrations on how to add/remove an element to List/ArrayList while iterating First, we will understand Read More

### Java 8 – How to merge/concatenate/join two lists into single list ?

July 19, 2022

In this article, we will discuss with an example for joining or concatenating or merging two or more lists into single list using Java 1.8 Read More

1 2 3 7