In this tutorial, we will see "How to find common elements of two arrays using Java 8 Streams?"find common elements...
Java Articles
Java 8 – How to find the max and min of two numbers without using if-else statements?
In this tutorial, we will see "How to find the maximum and minimum of two numbers without using if-else but in...
Java 8 – How to count occurrences of a number in an array using Streams?
In this tutorial, we will see "How to count occurrences of a specific number in an array using Java 8 Streams?" Count...
Java 8 – How to find the ‘Smallest’ and ‘Largest’ numbers in an array using Streams?
In this tutorial, we will see "How to find Smallest and Largest Numbers in an Array using Java 8?" Find Smallest and...
Java 8 – How to find missing number in an array using Streams?
In this tutorial, we will see "How to find Missing Number in an Array using Java 8 Streams?" Find missing number...
Java 8 – How to Reverse a String using Streams?
In this tutorial, we will see "How to Reverse a String using Java 8 Streams?" How to reverse a string in java 8...
Java – How to Print all Permutations of a String?
In this tutorial, we will see "How to Print all Permutations of a String in Java" Print all permutations of string in...
Java – How to Calculate LCM of two numbers? (Simplest Example)
In this tutorial, we will see "How to calculate LCM (Least Common Multiple) of two numbers using Java?" Calculate LCM...
Java – How to Calculate GCD of two numbers? (Simplest Example)
In this tutorial, we will see "How to calculate GCD (Greatest Common Divisor) of two numbers using Java?" Calculate...
Java 8 – How to Count the number of Words in a String?
In this tutorial, we will see "How to count number of words in a String using Java 8?" Count number of words in...
Java 8 – How to find Duplicate Characters and their Count in a String?
In this tutorial, we will see "How to find Duplicate Characters and their count in a String using Java 8?" Find...
Java – How to check if number is an Armstrong Number?
In this tutorial, we will see "How to check if a number is an Armstrong Number using Java?" Check if number is...