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.


-- Ed Leafe







--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
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.

Reply via email to