Description

We will use a Fraction as an example object.

The Fraction class will have 2 instance variables:

  1. An integer for the numerator
  2. An integer for the denominator

It will also expose methods that do the following:

  1. Represent a Fraction in different formats like String and decimal
  2. Determine the reciprocal of a Fraction
  3. Perform division and multiplication with another Fraction