Inheritance in java

Share this on :

when one class acquires the properties of another class then this concept is called inheritance.
This is used for reuse the existing functionality.
For Example: children acquire the properties of their parents.
New class is called sub class and existing class is called su

Share this on :