Self-Review Exercises for Section 23.2

23.1 State whether the following statement is true or false, and if false, explain why: If an attribute of a class is marked with a minus sign (-) in a class diagram, the attribute is not directly accessible outside of the class.

23.2 In Fig. 23.2, the association between the ATM and the Screen indicates that:

a) we can navigate from the Screen to the ATM

b) we can navigate from the ATM to the Screen

c) Both a and b; the association is bidirectional

d) None of the above

23.3 Write C++ code to begin implementing the design for class Account.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset