Object Oriented Concepts: Relationships and Object Lifecycle

Lesson Goals

The First Pass at Modeling the Game

The First Pass at Modeling the Game

Card Relationship to Deck

Specialization Relationship

Collaboration Relationship

Composite Relationship

Relationship Cardinality

Object Lifecycle

Cards Lifecycle

Cards Lifecycle

Implementing the Deck

Implementing the Deck

Lesson Summary

End of Lesson - What’s Next?