[Solved] Superclass inherits from a subclass. Coursera. Are they crazy? [closed]

[ad_1]

There must be something wrong with the quiz, the code as written in the question is declaring that MyInt is a subclass of int (or equivalently: that int is the superclass of MyInt), no the other way around.

1

[ad_2]

solved Superclass inherits from a subclass. Coursera. Are they crazy? [closed]