Chapter 2 Classes and Behavior
Class (How describe object in software? => create class )
Stand up and be counted (Do I need a class for every object? => one class per kind of object)
(What is a class?) => description of what an object can do and know, not a pattern
Common Behavior (How do I remove duplicate behavior from my classes) => inheritance
Instance Method (How do I implement the responsibilities of an Object) =>
method name, body, parameters, return value
Instance Variable (How does an object remember information it needs later?)
Class Variable (How do you remember a values that all instance need to share?)
Private Instance Method (I can’t read my instance method because its too long) =>
partition into private instance
Birth (How do I create an instance?) => default constructor, and dynamic
TestBudy (How do I test my class?) => create a Tester class