Self-Review Exercises for Section 22.7

22.14 Which of the following is not a behavior?

a) reading data from a file

b) printing output

c) text output

d) obtaining input from the user

22.15 If you were to add to the ATM system an operation that returns the amount attribute of class Withdrawal, how and where would you specify this operation in the class diagram of Fig. 22.17?

22.16 Describe the meaning of the following operation listing that might appear in a class diagram for an object-oriented design of a calculator:

add( x : Integer, y : Integer ) : Integer

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

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