File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Is-Like-A Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Is-Like-A" Watch "Is-Like-A" New topic


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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15082

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 8 API documentation
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
I agree. Here's the link:
subject: Is-Like-A
jQuery in Action, 3rd edition