Computer Science, asked by Anonymous, 9 months ago

inheritance in programme ​

Answers

Answered by Anonymous
1

The capability of a class to derive properties and characteristics from another class is called Inheritance. Inheritance is one of the most important feature of Object Oriented Programming.

Sub Class: The class that inherits properties from another class is called Sub class or Derived Class.

Super Class:The class whose properties are inherited by sub class is called Base Class or Super class.

thanks ☺️☺️

Answered by saswatkumarsingh123
1

Answer:

In object oriented programme inheritence enables new objects to take on the properties of existing objects...

A class that is used as the basis for inheritence is called a superclass or base class...

A class that inherits from a super class is called a sub class or derived class....

Hope it helps...✌️✌️✌️

Similar questions