Answer:
One of the fundamental ideas in object-oriented programming (OOP) languages is inheritance.
Explanation:
Inheritance in object-oriented programming:
- It is a mechanism that allows you to create a hierarchy of classes that share a set of properties and methods by deriving a class from another class.
- Inheritance is a technique to describe real-world relationships while OOP is all about real-world objects. Here's an illustration: a car, a bus, and a bicycle are all included in the larger category of "vehicle." That indicates that they have inherited the characteristics of the class of vehicles, i.e., they are all utilised for transportation.
- A process used to acquire a class's characteristics and behaviours by another class called inheritance.
- The class that inherits from the base class is referred to as the derived class, while the class that inherits from the base class is known as the parent class.
- The IS-A relationship is implemented by inheritance.
Thus, programmers can construct classes by building on existing classes and specifying a new implementation while keeping the same characteristics due to inheritance.
Know more on inheritance, click on the below link
https://brainly.in/question/3384200
To know on the difference between object oriented and object based programming, click on the below link
https://brainly.in/question/5172113