1.Java Basic interview Programs on Strings
- What is the output of following programs.
- Click here for basic java interview questions on Strings
2.Reverse a String Without using String API?
3.Sorting the String without using String API?
4.Check String is palindrome or not?
5.How to split a String in java
- #1: Java Program to split a String using String Split() method:
- #2: Java Program to split a String using String Split() method and use for each loop to display
- #4: Java Program to split a String using String Split() method: Before splitting check whether deliminator is there or not
- Check here for all questions on Splitting a string using string method
6.Removing Non Ascii character from a String?
- #1: Java Program to Remove non ASCII chars from String
- #2: Java Program to Remove multiple spaces in a string
- Check here for all questions on removing non ascii char from a String
7.Java program to replace or remove a character in a string java
- #1: Java Program to Remove all occurrences of char in a string
- #2: Java Program to Replace First occurance of Specific index char in a String
- #3: Java Program to Remove all Numbers from a string.
- Check here for all questions on replacing or removing char from a String
8.Java Program to check two strings are anagrams or not
- To check two strings are anagrams are not first we need to sort those two strings and compare
- if both are equal then we can say two strings are anagrams
- Check here for Java program to check two strings are anagrams or not
9.Java program to return maximum occurring character in the input string
10.Java program to count the number of vowels in a string.
11.Java Program to find numbers of occurrences of given char in a string
12.Java Program to count number of words in a String.
please add more String related program without using API & thanks for helping us keep it upReplyDelete