Vidyalelo
Ruby Programming · Q44

Advanced Topics in Ruby

Programming · Ruby Programming · question 44

Q44

What is the purpose of the String#<< method in Ruby?

A.
It inserts a substring into another string
B.
It converts a string into lowercase
C.
It converts a string into uppercase
D.
It appends a string to the end of another string
Answer

Answer: Option D

Solution

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