View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

Sp2001 Midterm Review: Short Essays

Short essay answers (HINT: DO THE CRC ONE!):

b. What is a CRC card? What are they good for? When do you use them?
35 index cards that contain the name of one class, its responsibilities, and its collaborators. They allow physical exploration of class interaction and interaction of the services of classes. The ability to manipulate the cards freely allows the designer to simulate various scenario tasks. The best time to use them would be during the OO-analysis stage, however, they can be referenced at any stage during the design process.



c. With inheritance, you delegate certain functionality to subclasses of your class. For instance, you can create an abstract class that describes but doesn't define certain behaviour (methods) and then it can delegate the responsibility of defining the specific behaviour of those methods to its subclasses.

Dmitri



Link to this Page