Examveda

What is the output of the given code?
“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


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby