Chapter 5 Application Modeling
1: | True or False: Polymorphism is the concept that states a class's data is hidden from outside entities and can only be accessed by external entities through the operations provided by that class. |
A1: | Answer: False |
2: | What restriction does a rolename apply to a class? |
A2: | Answer: Rolenames partition the behavior(s) a class presents in an association with another class. |
3: | A qualifier selects specific object instances of the class:
|
A3: | Answer: b. On the far end of the association |
4: | True or False: In an aggregation, when the “whole” is destroyed, all the parts are not necessarily destroyed. |
A4: | Answer: True. When you have a composition ... |
Get UML for Mere Mortals® now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.