Q:

What does function length do in String class?

0

What does function length do in String class?


  1. Returns length of string including null character
  2. Returns length of string excluding null character
  3. Returns length of substring
  4. Returns size of string in bytes

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).Returns length of string excluding null character

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING INBUILT CLASSES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which is the function to get the character present... >>
<< How to declare an object of class String?...