Programming - String Buffers

You Are Here :: Home > JAVA > String Buffers - General Questions

 
13.

which are not present in String class?                        


A. insert() B. delete()
C. reverse() D. none




14.

For creating several threads which is used?                        


A. StringBuilder B. StringBuffer
C. none D. both




15.

Method for making String reverse?                        


A. stringbuffer reverse() B. Stringbuffer reverse()
C. StringBuffer Reverse() D. StringBuffer reverse()




16.

why index of method is used ________________                        


A. to return the object at last occurrence B. to return object at index point
C. to return the object at first occurrence D. none




17.

To get substring position at last can be done by method?                        


A. int lastIndexOf(String str) B. char lastIndexOf(String str)
C. int lastIndexof(String str) D. char lastIndexof(String str)




18.

Method for replacing the string?                        


A. StringBuffer(int I,int j,String str) B. StringBuffer replace(int I,int j)
C. Stringbuffer replace(int I,int j,string str) D. StringBuffer replace(int I,int j,string str)




« prev

1

2

3

4

5

next »

 
 



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