Vidyalelo
Ruby Programming · Q36

Object Oriented Programming (OOP) Concepts in Ruby

Programming · Ruby Programming · question 36

Q36

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 inherit from another class
C.
To define a new method
D.
To create a new instance

Answer: Option A

Solution

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