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 duplicate count from Integer arrays ?

July 13, 2023

In this article, we will discuss how to find the desired result from the Integer[] arrays for the problem statement given below 1. Problem statement 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 Iterate over char[] Arrays ?

September 26, 2022

In this article, we will learn how to iterate over char[] Arrays in different ways Iterate over char[] Arrays : Using Java 8 Stream.chars() method Read More

Java 8 – How to generate Fibonacci numbers using Stream ?

September 24, 2022

In this article, we will learn how to generate Fibonacci numbers using Stream and other loop structure Generate Fibonacci Series/Numbers : Using Java 8 Stream 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 convert duplicate characters to Uppercase in a String ?

September 16, 2022

In this article, we will learn how to convert duplicate characters/occurrences to Uppercase letter in a String In one of the previous article, we already Read More

Java 8 – How to convert first character of every word to Uppercase ?

September 16, 2022

In this article, we will discuss how to convert first character of every word to uppercase using Java 1.8 version In one of the previous 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 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 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 get hashCode of a String ?

July 18, 2022

In this article, we will understand with a Java program on how to find hashCode of a String using Java 1.8 version Already in one Read More

Java 8 – How to find First and Last index of particular character or sub-string in a String ?

July 18, 2022

In this article, we will understand with a Java program on how to find First & Last index of particular character or sub-string in a Read More

Java 8 – How to join List of String elements using different delimiter ?

July 18, 2022

In this article, we will understand with a Java program on how to join List of String elements using different delimiter like dot, hyphen, forward-slash, Read More

Java 8 – How to join String[] Arrays elements using delimiter ?

July 18, 2022

In this article, we will understand with a Java program on how to join String[] Arrays elements using different delimiter like dot, hyphen, forward-slash, colon, Read More

Java 8 – How to Sort String[] Arrays by its length ?

July 15, 2022

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

Java – How to Sort String[] Arrays by its length ?

July 14, 2022

In this article, we will discuss how to sort String[] Arrays by its length in Ascending-order and Descending-order Sorting String[] Arrays 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

1 2 3 6