Java Program to Sort String Character in Descending order

In this tutorial, we will learn writing the java program to sort all the characters of the string in Descending order. For example Case 1: If the user inputs the string ‘python’Then the output should…

Java Program to Find Sum of Integers in the String

In this tutorial, we will learn the java program to fetch the integers from the given strings and print the sum of integers digits present in the string. Take any string as an input from…

Java Program to Remove Duplicates From String

In this tutorial, We will learn writing the java program to remove the duplicate characters from the String. Take any string as an input from the user and check for duplicate characters and if there…

Java Program to Concatenate two Strings

In this tutorial, we are going to learn java program to concatenate two strings together. For two input strings that are given by the user, we need to join them together and return the final…

Java Program to Remove All the blank Spaces in String

In this tutorial, we are going to learn java program to remove all the blank spaces between the input string by the user. For any input string, we have to check for the blank space…

Java Program to Replace First Occurrence Vowel with ‘-‘ in a String

In this tutorial, We will learn writing java program to Replace First vowel that occurs in the input string with ‘-‘. For any input string, we have to find vowels which occurs very first in…

Java Program to Print Maximum Occurred Character in String

In this tutorial, we will learn to print the character which occurs the most. For any input string, we have to check the number of occurrences of each character and print the character with the…