Inheritance

Create new class using existing class

Make relation with parent and child

Use "extends"

child class inherit all of members excluding constructor, initializing block.

The number of members in child class >= The number of members in parent(ancestor) class

Last updated