您当前的位置: 首页 > 

星拱北辰

暂无认证

  • 0浏览

    0关注

    1205博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

【面向对象】面向对象程序设计测试题7-对象之间的has-a/many关系测试题

星拱北辰 发布时间:2019-12-01 14:29:08 ,浏览量:0

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对象。

关注
打赏
1660750074
查看更多评论
立即登录/注册

微信扫码登录

0.0677s