Description

We will use a Fraction as an example object.

The Fraction class will have two 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 multiplication with another fraction