InterviewSolution
Saved Bookmarks
| 1. |
Mention the steps to be done while designing class protocol |
|
Answer» The only way other objects can get access to or affect the attributes or relationships of an object is through its operations. The operations of an object are defined by its class. A specific behavior can be performed via the operations, which may affect the attributes and relationships the object HOLDS and cause other operations to be performed. An OPERATION corresponds to a member function in C++ or to a function or PROCEDURE in ADA. What behavior you assign to an object depends on what role it has in the use-case realizations.Explanation: |
|