Programming - Strings

You Are Here :: Home > JAVA > Strings - General Questions

 
19.

The String class does have _________ methods for replacing found characters or substrings.                        


A. four B. three
C. two D. none




20.

StringBuilder objects are like String objects, except that they ____________.                        


A. cannot modified B. can be modified
C. may(or)may not D. all the above




21.

The StringBuilder class, like the String class, has a ___________ method that returns the length of the character sequence in the builder.                        


A. length() B. strcopy()
C. string concat() D. both a and b




22.

_______________ also has a capacity, the number of character spaces that have been allocated.                        


A. string B. string builder
C. literal string D. none




23.

The principal operations on a StringBuilder that are not available in String are the _________ methods                        


A. insert() and delete() B. append() and delete()
C. append() and insert() D. delete()




« prev

1

2

3

4

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on