OMG-OCUP2-ADV300 practice question 8 of 10
Which subclasses of Classifiers can be parameterized and used as Template Parameters?
Full set: 90 questionsIn the UML metamodel, Classifier is defined as an abstract metaclass that directly inherits from both TemplateableElement and ParameterableElement. Because of this metamodel inheritance structure, every concrete metaclass that specializes Classifier automatically inherits the ability to be parameterized as a template classifier and to be used as a template parameter. This architectural design applies universally across all structural and behavioral classifiers in UML, including Class, Component, DataType, Interface, Signal, UseCase, Activity, Interaction, StateMachine, and Collaboration. Therefore, all subclasses of Classifier can be parameterized and utilized as valid template parameters within UML models.
A: Signals inherit from Classifier, so they can also be parameterized and used as template parameters, making this exclusion incorrect. B: DataTypes inherit from Classifier, meaning they can be parameterized and used as template parameters, making this exclusion incorrect. C: Collaborations inherit from Classifier and can also be parameterized and used as template parameters, making this exclusion incorrect.
- OMG Unified Modeling Language (OMG UML) Specification, Version 2.5.1, Section 7.3.4 (Metamodel Abstract Syntax - Templates), pp. 24-25.
- OMG Unified Modeling Language (OMG UML) Specification, Version 2.5.1, Section 9.2 (Classifiers), pp. 113-116.
Keep practicing
Take the free OMG-OCUP2-ADV300 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other OMG-OCUP2-ADV300 practice questions
- Question 1Where does UML explicitly intend String Expression elements to be used?
- Question 2An organization has determined that they want to add the capability to create and add req…
- Question 3What must a modeler do to use an Action that coordinates other Actions?
- Question 4Which construct specifies all possible valid traces?
- Question 7What happens with a transmitted object of a send Action during transmission?
- Question 9What is true about the use of a Template Classifier to specify the Type of a Typed Elemen…
