adplus-dvertising
frame-decoration

Question

How is composition denoted in UML?

a.

An open filled diamond

b.

A solid filled diamond

c.

A line with a diamond adornment

d.

A line with an open circle adornment

Posted under Software Engineering

Answer: (b).A solid filled diamond Explanation:Composition is denoted by a solid filled diamond as an association role adornment.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How is composition denoted in UML?

Similar Questions

Discover Related MCQs

Q. What is the multiplicity at the whole end of composition in UML?

Q. What is the relationship between a class and its attributes in UML?

Q. What is an abstract class in UML?

Q. What is the purpose of abstract classes in UML?

Q. What is an interface in UML?

Q. What is the purpose of interfaces in UML?

Q. What does the State Machine Diagram model?

Q. How is the classical finite state machine model extended when used to model the behavior of objects over time?

Q. What is the purpose of local variables in the extended finite state machine model?

Q. What is a state transition diagram used for in modeling an object's life cycle?

Q. How are local variables used in the extended finite state machine model?

Q. What triggers the initial transition in a finite state machine?

Q. What do input events do in a finite state machine?

Q. How are output actions associated with a finite state machine?

Q. What is the expressive power of Mealy and Moore machines?

Q. What is used to add structure to a finite state machine to make it less unwieldy?

Q. What is a statechart in UML modeling methods?

Q. What is a final (pseudo) state in UML state diagrams?

Q. What is the general form of a transition label in UML state diagrams?

Q. What is a stub in UML state diagrams?