Programming - strings - Discussion

You Are Here :: Home > JAVA > strings - Discussion

 



Q.

One accessor method that you can use with strings is the ___________ method.                         


A. strcpy() B. strcmp()
C. length() D. all the above

Answer: Option C
Explaination:

 


One accessor method that you can use with strings is the length() method, which returns the number of characters contained in the string object.




Discussion

Your Comments Goes here...
NameDiscussion