Self-Review Exercises for Section 23.3

23.4 The UML uses an arrow with a __________ to indicate a generalization relationship.

a) solid filled arrowhead

b) triangular hollow arrowhead

c) diamond-shaped hollow arrowhead

d) stick arrowhead

23.5 State whether the following statement is true or false, and if false, explain why: The UML requires that we underline abstract class names and operation names.

23.6 Write a C++ header file to begin implementing the design for class Transaction specified in Fig. 23.10 and Fig. 23.11. Be sure to include private references based on class Transaction’s associations. Also be sure to include public get functions for any of the private data members that the derived classes must access to perform their tasks.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.