Saturday, September 21, 2013

What is a derived class

What is a derived class?


A derived class starts 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