7.2 Inheritance and the Object-Oriented Design Process | 329
Class Name: HomeAddress Superclass: Subclasses:
Responsibilities Collaborations
Create itself (name, street, apartment,
city, state, ZIP code)
Name
Know its name
return String
return String
return String
return String
return String
return String
Name
Know its street
Know its apartment
None
Know its city return
Know its state
Know its ZIP code
None
None
None
None