Description
We will use a Fraction as an example object.
The Fraction class will have 2 instance variables:
- An integer for the numerator
- An integer for the denominator
It will also expose methods that do the following:
- Represent a Fraction in different formats like String and decimal
- Determine the reciprocal of a Fraction
- Perform division and multiplication with another Fraction