Exercise: Extend MyInt Class
Extend the 'MyInt' class to make its instances comparable.
We'll cover the following
Challenge
Instances of the MyInt
class can be compared. Extend the class so that instances of MyInt
can also be compared with the int
values.
Get hands-on with 1400+ tech skills courses.