Q.

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

A. get()
B. Sizeof()
C. lengthof()
D. length()
Answer» D. length()
1.2k
0
Do you find this helpful?
2

View all MCQs in

Java Programming

Discussion

No comments yet