Hey All,
Again, many, many thanks! Nuno, I totally understand this now based on your
example. I'm definitely going to try it myself to solidify it in my head as
well.
Thanks!!
Cheers,
-Maashu
On Thu, Apr 2, 2009 at 2:01 AM, hec-ubuntu wrote:
>
> Maashu,
>
> If there are no method declarati
Hey Hec!
Great example, but let me ask you this:
Taking your example, if you had coded:
Dog dog = new Dog();
instead of:
Animal dog = new Dog();
Wouldn't the dog object in the first scenario above still inherit the "talk"
method just through inheritance from the superclass?
Thanks to everyone
On Apr 1, 11:02 pm, "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
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 paren
On Apr 1, 10:26 pm, "maa...@gmail.com" wrote:
> Hi All,
>
> I apologize if this question has been answered, but I've read all the
> lessons and supporting material (up to "inner class," at least) and I've
> spoken to a colleague who has taken a similar intro to Java class, but I
> still can't f