Vidyalelo
Ruby Programming · Q29

Data Types and Variables in Ruby

Programming · Ruby Programming · question 29

Q29

Which method is used to convert a string to an array of characters in Ruby?

A.
.to_chars
B.
.split
C.
.to_array
D.
.chars
Answer

Answer: Option D

Solution

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