| Author |
A problem about IS-A
|
Fu Dong Jia
Ranch Hand
Joined: May 23, 2007
Posts: 131
|
|
Which statements are true(choose all that applay) a,is-a relationships always rely on inherritance. b,is-a relationships always rely on instance variables. c,is-a relationships always require at least two class types. d,is-a relationships always rely on Polymorphism. e,is-a relationships always tighthy coupled. the answer is a,c and d. I think there is only c is right. Can anyone explain this. thanks in advance.
|
who dare win!<br />SCJP5(94%)|SCWCD5(86%)|SCBCD(100%)|SCEA in progress
|
 |
Kelvin Chenhao Lim
Ranch Hand
Joined: Oct 20, 2007
Posts: 513
|
|
|
As you've discovered, this particular K&B mock exam question is unfortunately not very precise. See this thread for an earlier discussion of this question, including a brief comment by Bert.
|
SCJP 5.0
|
 |
Fu Dong Jia
Ranch Hand
Joined: May 23, 2007
Posts: 131
|
|
|
Thanks Kelvin!
|
 |
 |
|
|
subject: A problem about IS-A
|
|
|