Chapter 11: Problem 20
What two questions should you ask to determine a class's responsibilities?
Short Answer
Expert verified
Answer: The two main components that a student should focus on when determining a class's responsibilities are:
1. Understanding the primary roles, tasks, or functions of the class within the application's overall structure.
2. Identifying the specific attributes (data members) and methods (functions) required to fulfill these roles, tasks, or functions.