Explore topic-wise MCQs in Java.

This section includes 1 Mcqs, each offering curated multiple-choice questions to sharpen your Java knowledge and support exam preparation. Choose a topic below to get started.

1.

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

A. get()
B. Sizeof()
C. lengthof()
D. length()
Answer» E.