Vidyalelo
Ruby Programming · Q3

Basic Syntax in Ruby

Programming · Ruby Programming · question 3

Q3

What does the 'puts' method do in Ruby?

A.
Prints to console
Answer
B.
Converts to string
C.
Finds the length
D.
Reads input from user

Answer: Option A

Solution

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