What is a derived class?
A derived classstarts with an existing base class and builds upon it. For example, shape can be a base class, which can be extended to create specific classes like square, triangle or a hexagon, which are 'derived' from shape.
No comments:
Post a Comment