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