Question: Finish the constructor for class 'Fraction' so that the instance variables 'nominator' and 'denominator' are set with the parameters of the constructor of the same
Finish the constructor for class 'Fraction' so that the instance variables 'nominator' and 'denominator' are set with the parameters of the constructor of the same name:

Here's my code: https://codeshare.io/2BLM8m
Finish the constructor for class 'Fraction' so that the instance variables 'nominator' and 'denominator' are set with the similarly named parameters of the constructor. Now that there are no 'set...' methods (also called 'setters') anymore, a once created object of class 'Fraction' can no longer change
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
