Machine-translated by Google. Questions are authored in English.
Top

Discussion

Each association has two or more roles.

  • A.True
  • B.False

Answer: A

Correct answer: True

Each end of an association is a role, naming the part that class plays in the relationship. A binary association therefore has two roles, and an n-ary association has n. Role names matter most in a recursive association, where the same class appears at both ends and only the roles distinguish them.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.