adplus-dvertising
frame-decoration

Question

What type of relationship can be depicted in a class diagram?

a.

Only associations

b.

Only generalizations

c.

Both generalizations and associations

d.

Neither generalizations nor associations

Posted under Software Engineering

Answer: (c).Both generalizations and associations Explanation:Relationships between objects in a class diagram can be depicted by decorating the edges and can fall into two classes: generalizations and associations.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What type of relationship can be depicted in a class diagram?