Vidyalelo
Ruby Programming · Q29

Methods in Ruby

Programming · Ruby Programming · question 29

Q29

What is the purpose of the alias_method keyword in Ruby?

A.
To create an alias for a method
Answer
B.
To define a new method
C.
To remove a method
D.
To call a method with a different name

Answer: Option A

Solution

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