Answer: Inheritance is a method for creating hierarchies of objects wherein one class, called a subclass, is based on another class, called a base class.
Answer: Inheritance is a feature of object-oriented programming languages that allows you to define a base class that provides specific functionality (data and behavior) and to define derived classes that either inherit or override that functionality.
Post Your Answer
Guest User
Not sure what solution is right for you?
Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.