Dale - Computer Science Illuminated 192

Dale - Computer Science Illuminated 192 - 6.3...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
6.3 Object-Oriented Design 165 Scenarios is the stage in which the behavior of each class is determined. Because each class is responsible for its own behavior, we call the behaviors responsibil- ities. In this stage, “what if” questions are explored to be sure that all situations are examined. When all of the responsibilities of each class have been determined, they are recorded on the class’s CRC card, along with the names of any other classes with which it must collaborate (interact) to complete its responsibility. Responsibility algorithms , the last stage, is where the algorithms are written for each of the responsibilities outlined on the CRC cards. Now you can see where the term CRC comes from: Class, Responsibility, and Collaboration. Let’s look at each of these stages in a little more detail. Brainstorming What is brainstorming ? The dictionary defines it as a group problem-solving technique that involves the spontaneous contribution of ideas from all members of the group. 4
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online