This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "help" Watch "help" New topic


feng lee
Ranch Hand

Joined: Oct 29, 2002
Posts: 33
Where will be a 'is a ' relationship will occur select one?
A. interface Person
class Employee implements Person
B. interface Shape
interface Rectangle extends Shape
C. interface Component
class Objects implement Component
{Component [] Component;}
I think A is also right,isn't it?
Don Bosco
Ranch Hand

Joined: Oct 31, 2002
Posts: 108
You are right!

SCJP 1.4<p>Wingardium Leviosa!!
Claire Yang
Ranch Hand

Joined: Aug 30, 2002
Posts: 57
So, if "class A extends B implements C" then we say that A "is a" B and A "is a" C also?
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865
Originally posted by Claire Yang:
So, if "class A extends B implements C" then we say that A "is a" B and A "is a" C also?


Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="" target="_blank" rel="nofollow">Try my mock exam.</a>
Terry Kwan

Joined: Nov 16, 2002
Posts: 8
why C is wrong?
I agree. Here's the link:
subject: help
It's not a secret anymore!