![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
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() |
View all MCQs in
Java ProgrammingNo comments yet