Vidyalelo
Ruby Programming · Q13

Object Oriented Programming (OOP) Concepts in Ruby

Programming · Ruby Programming · question 13

Q13

What is the purpose of the include keyword in Ruby classes?

A.
To mix in methods from a module into a class
Answer
B.
To define a new method
C.
To create a new instance
D.
To inherit from another class

Answer: Option A

Solution

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