problem 1: describe the function of the given methods:
a) IndexOf( )
b) Last IndesOf( )
c) Substring( )
d) Concat( )
e) Replace( )
f) Trim( )
g) ValueOf( )
problem 2: What do you mean by StringBubber? prepare different characters available with the StringBuffer?
problem 3: describe different methods available with the String Buffer.
problem 4: prepare a program to reverse the string by using StringBuffer class.
problem 5: prepare down a method called
delete (String str, int m) that returns the input string with the mth element removed.
problem 6: prepare down a program which will count all occurrences of a specific word.
problem 7: prepare down a program that will reprepare the string in the alphabetical order. For illustration, the word "UPTEC" must be written as "CEPTU".
problem 8: Fill up the blanks:
a) ................... represents fixed length, immutable character series.
b) ................... represents growable and prepareable character series.
c) ................... method replaces all the occurrences of one character with the other.
d) ................... and ................... methods are employed for changing case of characters.
e) To create an empty string, ................... constructor is called.