题目
题目
单项选择题

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道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!