Question
Which of these method of class String is used to obtain length of String object?
Answer: Option D
Was this answer helpful ?
Method length() of string class is used to get the length of the object which invoked method length().
Was this answer helpful ?
Submit Solution