On 2017-05-18 08:44, Edward Leafe wrote:
On May 18, 2017, at 6:33 AM,
[email protected] wrote:
Maybe it was Python learning. I did start reading a Java book but I
don't think it was that. Wherever it was, I recall reading that the
classes listed earlier (left) had dominance over those listed after,
so if both class parents had the same method (or was it property?),
whichever class was listed first (leftmost) would be the one that got
called/referenced.
Exactly. When you call a method not defined in the current class, it
will look it up from the super classes in order until the method is
found.
In Java, Python, or both?
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.