多选题
Which are true? (Choose all that apply.)
A、
If class A is-a class B, then class A cannot be considered well encapsulated.
B、
If class A has-a class B, then class A cannot be considered well encapsulated.
C、
If class A is-a class B, then the two classes are said to be cohesive.
D、
If class A has-a class B, then the two classes are said to be cohesive.
E、
If class A is-a class B, it"s possible for them to still be loosely coupled.
F、
If class A has-a class B, it"s possible for them to still be loosely coupled.
【正确答案】
E、F
【答案解析】
提交答案
关闭