7.20. (Optional) Software Engineering Case Study: Identifying Class Operations in the ATM System
In the Software Engineering Case Study sections at the ends of Chapters 4–6, we performed the first few steps in the object-oriented design of our ATM system. In Chapter 4, we identified the classes that we will likely need to implement and we created our first class diagram. In Chapter 5, we described some attributes of our classes. In Chapter 6, we examined our objects’ states and modeled the objects’ state transitions and activities. We now determine some of the class operations (or behaviors) needed to implement the ATM system.
An operation is a service that objects of a class provide to clients of the class. Consider the ...