You will be creating three classes. The first class is called Number, which
supports three operations:
“display”, “==”, and “+”.
1. display: This operation displays the Number itself in its original form (
I will explain later).
2. ==: This operation returns true if two Numbers are numerically the same.
3. +: This operation adds the number itself with another number and returns
a third number
whose numeric value is equal to the sum of the numeric values of the former
two.