8.15. (Optional) Software Engineering Case Study: Collaboration Among Objects in the ATM System

When two objects communicate with each other to accomplish a task, they are said to collaborate. A collaboration consists of an object of one class sending a message to an object of another class. Messages are sent in Visual Basic via method calls. In this section, we concentrate on the collaborations (interactions) among the objects in our ATM system.

In Section 7.20, we determined many of the operations of the classes in our system. In this section, we concentrate on the messages that invoke these operations. To identify the collaborations in the system, we return to the requirements document of Section 3.9. Recall that this document specifies the ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.