Programming - String Buffers - Discussion

You Are Here :: Home > JAVA > String Buffers - Discussion

 



Q.

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)

Answer: Option A
Explaination:

 


To get substring position at last can be done by method int lastIndexOf(String str).




Discussion

Your Comments Goes here...
NameDiscussion