Sail E0 Webinar
Question
Which of these method of class String is used to obtain length of String object?
Options:
A .  get()
B .  Sizeof()
C .  lengthof()
D .  length()
Answer: Option D


Method length() of string class is used to get the length of the object which invoked method length().



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers