Object Oriented Concepts: Using Inheritance and Specialization

Lesson Goals

Reviewing the Design

Refining the Design

Merging the Hand Class with Player

The Dealer as a Specialized Player

Extracting the Person Abstraction

A Generalized Person Hierarchy

Extracting the Role Abstraction

A More Extensible Design.

Implementing the Original Design

Implementing the Original Design

Implementing the Original Design

Implementing the Original Design

Lesson Summary

End of Lesson - What’s Next?