| Author |
Is-Like-A
|
nico dotti
Ranch Hand
Joined: Oct 09, 2007
Posts: 124
|
|
|
I haven't heard of this description. It seems to correlate with a classes relationship to an interface it implements - is that correct? Thanks
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12911
|
|
|
I've also never heard of "is-like-a". Where did you read / hear about that term? The "is-a" relationship is also valid for classes that implement interfaces.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
nico dotti
Ranch Hand
Joined: Oct 09, 2007
Posts: 124
|
|
|
a few of the enthuware questions are worded like that.
|
 |
Kelvin Chenhao Lim
Ranch Hand
Joined: Oct 20, 2007
Posts: 513
|
|
|
As Jesper said, "Is-Like-A" is not a standard term in OO lingo. The closest programming construct I can think of that might correspond to this relation are delegates in C# and other .NET languages, which give you a way to describe similarity in behavior without an inheritance relation. But I don't think Java has anything quite like this, and the SCJP exam definitely won't use this term.
|
SCJP 5.0
|
 |
 |
|
|
subject: Is-Like-A
|
|
|