Vidyalelo
Computer Science · Q234

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 234

Q234

Which command will return the length of a String in Kotlin?

A.
str.length
Answer
B.
length(str)
C.
str.lengthOf
D.
str.getLength()

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board