Exam4Training

Which UML element specifies a set of formal parameters that will be substituted by actual parameters?

Which UML element specifies a set of formal parameters that will be substituted by actual parameters?
A . template parameter
B . template signature
C . templateable element
D . template parameter substitution

Answer: B

Explanation:

A template signature in UML specifies a set of formal parameters that can be substituted by actual parameters when a template is instantiated. This template signature is part of a template able element, which is the element that can be parameterized using the template mechanism in UML. The template signature defines the formal template parameters that will be replaced by actual values or types when a bound element is created from the template. This concept is detailed in the UML 2.x Superstructure Specification, particularly in the sections describing templates and how they are used to create reusable and customizable model elements.

Exit mobile version