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.
查看答案
Which of the following statements is true?
An arm is a part of a HumanBeing, so it is a subclass of class HumanBeing.
B. Course "Software Engineering" is a subclass of class "Course".
C. Inheritance brings us troubles if it is not adopted properly.
D. Inheritance should be implemented with structural programming languages.
Which of the following statements is not correct?
A. Information hiding can be used to obviate common coupling.
B. A class is an abstract data type.
C. An abstract data type is just a class.
D. Abstract data type supports both data abstraction and procedural abstraction.
Two modules are _____ coupled if one passes an element of control to the other.
A. control
B. stamp
C. data
D. logical
Which of the following cannot be taken as a module?
A. function
B. class
C. method
D. collection