What is inheritance in Ruby?
A. A mechanism by which a class can hide implementation details from another class
B. A mechanism by which a class can inherit properties and behaviors from another class
C. A mechanism by which a class can create multiple instances of another class
D. None of the above
Answer: Option B
Join The Discussion