Thursday, 30 May 2013

Week 12 day 3

It is not uncommon to build up a complex class by declaring simpler classes and including them in the declaration of the more complex class. Fir example, you might declare a wheel class, a motor class, and a transmission class and ect... then combine them into a car class. This declares the relationship between the motor, wheels and transmission.

No comments:

Post a Comment