Examveda
Examveda

What does the length() method of a String object in Java return?

A. The capacity of the string

B. The size of the string

C. The length of the string

D. The index of the last character

Answer: Option C


This Question Belongs to Java Program >> Strings

Join The Discussion

Related Questions on Strings