adplus-dvertising
frame-decoration

Question

What is an association in UML?

a.

A property of a class

b.

A simple line connecting two classes

c.

A relationship between two classes

d.

A class property

Posted under Software Engineering

Answer: (c).A relationship between two classes Explanation:An association in UML represents a relationship between two classes. It is depicted as a solid line connecting two classes and may be adorned with various symbols and textual information to specify the nature of the relationship. The line may also have a name that represents the relationship, such as "member-of" in the example.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is an association in UML?

Similar Questions

Discover Related MCQs

Q. What is the difference between an attribute and an association in UML?

Q. What is an association class in UML?

Q. What is the difference between aggregation and composition in UML?

Q. How is aggregation denoted in UML?

Q. How is composition denoted in UML?

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?