1.
What is inheritance in Ruby?

4.
What does polymorphism allow in Ruby?

5.
What is the primary purpose of a constructor in a Ruby class?

7.
What is encapsulation in Ruby?

8.
What is the purpose of polymorphism in Ruby?

9.
What does the attr_accessor method do in Ruby classes?

10.
What is the main purpose of using inheritance in Ruby?