Author: Edward Leafe
Posted: 2017-05-18 at 07:44:21
On May 18, 2017, at 6:33 AM, mbsoftwaresolutions@mbsoftwaresolutions.com 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.
-- Ed Leafe
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
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/75466D1F-3716-481E-84E4-8E0706D3B1E8@leafe.com
** 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.