### 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 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 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 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

### Java 8 – How to Sort String List by its length ?

July 17, 2022

In this article, we will discuss how to sort String List by its length in Ascending-order and Descending-order in Java 1.8 version Sorting String List Read More

### Java – How to Sort String List by its length ?

July 16, 2022

In this article, we will discuss how to sort String List by its length in Ascending-order and Descending-order Sorting String List by its length: Using Read More

### Java 8 – Find all shortest Strings in List or Arrays or Stream ?

July 13, 2022

In this article, we will discuss how to find all shortest Strings in an Arrays and List using Java 8 Stream and Collectors 1. Finding all shortest Strings in a List : Read More

### Java 8 – Find all longest Strings in List or Arrays or Stream ?

July 12, 2022

In this article, we will discuss how to find all longest Strings in an Arrays and List using Java 8 Stream and Collectors 1. Finding all longest Strings in a List : Read More

### Java – Find all shortest Strings in List or Arrays ?

July 11, 2022

In this article, we will discuss how to find all longest Strings in an Arrays and List using Java 1. Finding all shortest Strings in List or ArrayList : A List contains multiple Strings where some String Read More

1 2 3 5