Which of these method of class String is used to obtain length of String object?
get()
Sizeof()
lengthof()
length()
Method length() of string class is used to get the length of the object which invoked method length().