Computer Science, asked by vikash190, 1 year ago

Define inheritance with reference to object oriented programming

Answers

Answered by kishan156
1
in oop inheritance means a existing class give its properties to another class. where existing class is known as parent class and the class who acquire property is known as child class . it is as same as a son has some property or character of his father
Answered by cyrusbishop
0

Answer:

Inheritance is the process by which objects of one class can link and share some common properties of objects from another class.

Explanation:

This process to add some extra features to a class without modifying its contents.

This process can easily be attained if a class inherits another class which indicates that the new class comprises of some essential features of the existing class.

Similar questions