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: False2:
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:On the end of the association nearest to the qualifier
On the far end of the association
A3:
Answer: b. On the far end of the association4:
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 (or a composite aggregation ), the parts are destroyed with the whole.5:
Which of the following are not a type of visibility: A5:
Answer: b. Partial, c. Virtual, and e. Abstract
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.