Identifying Objects (and Classes)
(objects) in the problem description.
Identify more objects in your developing problem solution.
(Design is incremental and iterative! -- Grady Booch)
From these objects, determine what new types (classes) you need.
Example: BlackJack Program
Sample Design Questions:
Do different cards represent different types? Or are suit and rank
of a single card type?
Are the dealer and player instances of the same class?
, objects of the same type?
Should there be a separate Hand class?
Example: Graphical Notation
Example: CRC Notation
Alyce Brady, Kalamazoo College