How to Sort String in Java
Sorting string in Java is a common task in programming. For example, we may need to sort a list of items sold by online store, or a list of customer names and email addresses. Sorting is an algorithmic technique to…
Scientech Easy welcomes you in the Java tutorial category. We have designed this tutorial series for beginners, students, and professional developers who want to learn Java programming from basic to advanced levels. Here, you will find easy-to-understand Java tutorials, practical example programs, interview questions, and quizzes.
So, let’s start to understand Java concepts one by one with these tutorials.
Sorting string in Java is a common task in programming. For example, we may need to sort a list of items sold by online store, or a list of customer names and email addresses. Sorting is an algorithmic technique to…
A palindrome number in Java is a number that when read in reverse order is the same as read in the right order. In other words, a palindrome number is a number that remains the same after reverse. For example:…
A palindrome in Java is a word, phrase, number, or sentence that reads the same in forward and backward directions. In other simple words, a palindrome is a word, phrase, number, or sequence of characters that is the same after…
In this tutorial, we will learn how to reverse a string by word or character in Java with the help of example programs. A string is a sequence of characters that is considered as an object in Java. In Java,…
An immutable class in Java is a class whose state of an object cannot be changed or modified after it is created. In other simple words, a class whose objects are immutable (i.e., unmodifiable) is called immutable class in Java.…