What is inheritance and its properties in oops?
Answers
Answered by
3
Hi
Inheritance. In object-oriented programming, inheritance enables new objects to take on the properties of existing objects. A class that is used as the basis for inheritance is called a superclass or base class. A class that inherits from a superclass is called a subclass or derived class.
Inheritance. In object-oriented programming, inheritance enables new objects to take on the properties of existing objects. A class that is used as the basis for inheritance is called a superclass or base class. A class that inherits from a superclass is called a subclass or derived class.
Answered by
0
Answer:
HI MATE
Explanation:
<<HOPE THIS ANSWER HELPS YOU>>
Inheritance: The process by which one object acquires the properties of another object is called/known as INHERITANCE.
<<I AM VERY HAPPY TO HELP YOU WITH THE ANSWER>>
Similar questions