Forums Register Login

Is-Like-A

+Pie Number of slices to send: Send
I haven't heard of this description. It seems to correlate with a classes relationship to an interface it implements - is that correct? Thanks
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
a few of the enthuware questions are worded like that.
+Pie Number of slices to send: Send
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.
We must storm this mad man's lab and destroy his villanous bomb! Are you with me tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 784 times.
Similar Threads
Enthuware: relationship is-like-a
Where will be a is a relationship will occur?
A new file or not
Java Multiple Inheritance.
is-a , has-a, is-like-a
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:29:58.