Indicate which occurrences of the following inheritance relationships are specification inheritance and which are implementation inheritance:
What will be an ideal response?
• A Rectangle class inherits from a Polygon class. [specification inheritance]
• A Set class inherits from a BinaryTree class. [implementation inheritance]
• A Set class inherits from a Bag class (a Bag is defined as an unordered collection). [specification
inheritance]
• A Player class inherits from a User class. [specification inheritance]
• A Window class inherits from a Polygon class. [implementation inheritance]
Computer Science & Information Technology
You might also like to view...
The ____________________ procedure found in the MessageBox class is used to display a message in a message box.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
With the frame value ____, a border is drawn on the top and bottom sides of the table.
A. rhs B. lhs C. vsides D. hsides
Computer Science & Information Technology