Week 5

Lecture 12: October 2, 2006

Using Libraries, Designing Derived Classes.

Using the World Library.

Designing Derived Classes.

Lecture 13: October 4, 2006

Designing Special Classes to Distinguish the Behavior.

Designing Special Classes to Distinguish the Behavior.

Lecture 14: October 5, 2006

Overloading Constructors

... to provide flexibility for the user and to assure data integrity.

Overloading constructors to provide flexibility for the user: providing defaults.

Overloading constructors to provide flexibility for the user: expanding options.

Designing and overloading of constructors to assure data integrity.

Overloading and encapsulation of constructors to assure data integrity.