Object Oriented Concepts: Classification, Hierarchies
and Abstraction
Lesson Goals
Your Assignment: Build a Poker Game
Evolution of Abstract Data Types
Built-in Types
Abstract Data Types
User Defined Types
What is Object Orientation?
Describing the Poker Game
Finding Objects of the Poker Game
Classifying the Poker Game Objects
Finding Behavior and State
Defining Levels of Abstraction
The Concept of a Class
The Concept of an Instance
The Concept of an Object Identifier
The Definition of an Object
Encapsulating State
Encapsulating Object Behavior
Describing the Object Interface
Discovering Inheritance
Bringing it Together!
Describing Object Messaging
A Messaging Example
Discovering Polymorphic Behavior
The First Pass at Modeling the Game
The First Pass at Modeling the Game
The First Pass at Modeling the Game
Lesson Summary
End of Lesson - What’s Next?