Top | MCQs on Data Structures | DSA Quiz for Beginners | Question 6

Last Updated :
Discuss
Comments

Which of these methods of class String is used to obtain the length of the String object?

get()

Sizeof()

lengthof()

length()

Share your thoughts in the comments