Incorrect statement in Section 2, Chapter 2 (Libraries and Inheritance) #6
ShariqKhan2012
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The section titled "Important Rule: Inheritance Order Matters" has thispiece of code:
It incorrectly states that calling
TokenX.getValue()will returnBand callingTokenY.getValue()will returnA.Whereas, in reality, calling
TokenX.getValue()will returnAand callingTokenY.getValue()will returnB.Please check and correct this, as this may confuse new learners.
Beta Was this translation helpful? Give feedback.
All reactions