Vidyalelo
Ruby Programming · Q25

Methods in Ruby

Programming · Ruby Programming · question 25

Q25

What is the purpose of the `alias` 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