Test7:对象之间的has-a/many关系测试题
问题 1 下图表达的含义是什么? A.公司里的员工参与项目。 B.公司里的项目由员工完成。 C.员工完成公司里的项目。 D.以上都对。 答案: D
问题 2 Multiplicity in essence defines how many links of a certain association type can originate from a given object. 答案: 对
问题 3 A unary, or reflexive, association is between two instances of the same class. 答案: 对
问题 4 以下描述哪一个是正确的? A.每个Student类的对象都必须有一个Transcript对象 B.每个Student类都有一个Transcript类 C.每个Transcript类都有一个Student类 D.每个Student类对象也许会有一个Transcript对象。