This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: help
Similar Threads
Where will be a is a relationship will occur?
Qn from Sun's samples
A exam sub. Can you help me?
Sun qstns - "has a" relationship
Sun sample ques.