What does inheritance allow you to do?

a) create a class
b) create a hierarchy of classes
c) access methods
d) create a method

1 thought on “ What does inheritance allow you to do?”

  1. b
    Explanation: Inheritance helps in creating hierarchy of classes by making connections between different classes in which one is called base class and other is class derived class.

Leave a Comment