INHERITANCE
• Inheritance:- In object-oriented programming, Inheritance is a way to form new classes (instances of which are called Objects) using classes that have already been defined. The inheritance concept was invented in 1967 for Simula.
The new classes, known as derived classes, take over (or Inherit) attribute and behavior of the pre-existing classes, which are referred to as base classes (or ancestor classes). It is intended to help reuse existing code with little or no modification.
For more interesting Article’s………Click Here
No comments:
Post a Comment