What is the output of the given code?
“Ruby”.length #to find the length of given string
“Ruby”.length #to find the length of given string
A. 4 to find the length of given string
B. 4
C. To find the length of given string
D. Ruby
Answer: Option B
Join The Discussion