aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes A problem about IS-A Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "A problem about IS-A" Watch "A problem about IS-A" New topic
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A problem about IS-A