On Apr 1, 11:02 pm, "maa...@gmail.com" <maa...@gmail.com> wrote:
> Hey Miga!
>
> Thanks for your response.  I'll have to search the forum, as I'm still not
> any more clear on the subject.  It seems to me that a Manager would, by
> definition, also be seen as a Person.  If you're saying that this is more
> useful when you've got a class hierarchy that's more than one parent and one
> child, I'm starting to get it, I'm just still not 100% sure why.
Yes, exactly, this is what I mean. As you cannot have multiple
inheritance in Java, you may simulate it this way.
Or/and play with multiple interfaces.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to