Java: Methods of String class

 

2 thoughts on “Java: Methods of String class”

  1. Need answers for these problems, create separate post for these problems:
    How to find the maximum occurring character in given String?
    How to remove all duplicates from a given string?
    How to print the duplicate characters from the given String?
    How to remove characters from the first String which are present in the second String?
    How to check if two strings are rotations of each other?
    How to reverse a given String?
    How to print all permutation of a String?
    How to reverse the words in a given String sentence?
    How do you check if a given String is Palindrome or not?
    How do you convert String to integer?
    How do you remove a given character from String?
    How do you count a number of words in String?
    How to return highest occurred character in a String?
    How to return highest occurred character in a String?
    How to return highest occurred character in a String?
    How to return highest occurred character in a String?

  2. Add code for some real time interview questions like how to get number of Captial A in the string, “I Am Awesome”. Write code to make use of these methods, mere knowning these methods is not enough, you need to learn to make use of it in real logical problems. Add solutions to top 5 string manipulation questions here.

Leave a Reply