题目
单项选择题
How do you model the following situation with a class diagram:On a blind date exactly two people take part. A person can take part in multiple blind dates.

查看解析
标准答案
Please login to view
思路分析
The provided data for this question is incomplete: there are no answer options to analyze. Nevertheless, we can reason about the correct way to model the described scenario and what typical options would look like.
First, restating the problem in my own words: On a blind date, exactly two people participate. A person can take part in multiple blind dates. You need a class diagram modeling this situation.
If we consider common modeling approaches, here are the typical options you might be presented with and how to judge them:
Option A (likely correct): Model two entity classes, Person and Date, connected by an association (participates in / attends). The key constraints are:
- Each Date involves exactly two Persons.
- A Person can participate in many Dates.
In UML terms, this can be represented as a many-to-m......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Match the item from this UML diagram to its description
Which section in the UML holds the list of the class's data attributes?
How do you model the following situation with a class diagram:An order is placed with exactly one waiter, and a waiter can handle multiple orders
Composition, aggregation and association are shown in a :
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!