第四章 面向对象范型--4.6 类的关联【含答案】 软件工程

(1)单选题

Which of the following statements is not correct?

A  Head is a part of eGame-HumanBeing, so their relationship is association.

B  In a library management system, the relationship between class Borrower and Book is "borrows/returns".

C  Association between two classes cannot be implemented with "extends" in Java.

D  Association should be described with a domain-related strong verb or verb phrase.

(2)单选题

Every class should have a multiplicity to describe a relationship except _______.

A  inheritance

B  Aggregation

C  Association

D  Composition

获取标准答案请阅读全文

未经允许不得转载!第四章 面向对象范型--4.6 类的关联【含答案】 软件工程