There are many ways to count the number of occurrences of a character in a String in Java. In this article, we’re going to see how we can check frequency of characters inside a string by using Java Stream API.
A palindrome is a word, phrase, number, or other sequences of characters which reads the same backward as forward. More specifically, A string is said to be a palindrome if the string read from left to right is equal to the string read from right to left. For Example, madam or racecar or the number 10201.
In this article, we’re going to see how we can check whether a given String is a palindrome using Java Stream API.
If you’re working on multiple java projects, it is very common to switch between different java versions. I face this too often. We have a number of projects running in production which need different java version. Sometimes we need to fix issues or to add a customer required feature in older projects. These older projects […]