[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

JAVA Programming :: Objects and Classes - Discussion

Home > JAVA Programming > Objects and Classes > MCQs Questions Discussion

20 / 30

Choose the correct option.

Select the one correct answer. The number of characters in an object of a class String is given by

AThe member variable called size

BThe member variable called length

CThe method size() returns the number of characters.

DThe method length() returns the number of characters.

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!