Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

OMG Certified UML Professional 2 (OCUP 2) - Advanced Level OMG-OCUP2-ADV300 Question # 19 Topic 2 Discussion

OMG Certified UML Professional 2 (OCUP 2) - Advanced Level OMG-OCUP2-ADV300 Question # 19 Topic 2 Discussion

OMG-OCUP2-ADV300 Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

Choose the correct answer:

You are asked to provide UML model content such that other modelers may use the Classes of your model as modular, partial specifications to be more fully specified by their models. You decide to provide a Vehicle Class that represents a partial specification of automobiles and allows tailoring of this class through the other modelers' choices of kinds of propulsion such as a gasoline motor, an electric engine, or a manual cyclesystem. You want to limit whichClass kinds the other modelers can choose as their propulsion system.

Which tactic appropriately exploits UML's syntax and semantics for modular reification?


A.

Model GasolineMotorVehicle. ElectricEngineVehicle. and ManualCyclingVehicle as specialized versions of your Abstract Class Automobile.


B.

Model Vehicle as a Template Classifier with a Class Parameter named Thrustor that is constrained to be a derivative of an Abstract Class PropulsionSystem


C.

Model Vehicle as a Class with a Property named thrustor of Type Enumeration Class Thrustor that has Enumeration Literals GasolmeMotor. ElectncEngme. and ManualCycler.


D.

Model three separate Packages named GasolineMotor Vehicles. ElectricEngme Vehicles, and ManualCyclmg Vehicles and Package Import into each of these the Package with your Vehicle Class.


Get Premium OMG-OCUP2-ADV300 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.