Question: I dont know where i made the mistake :(( I keep getting the same value for the first fraction even after I multiplied. It is

I dont know where i made the mistake :((
I keep getting the same value for the first fraction even after I multiplied. It is weire because i get the correct multiplied value but that number doesnt get replaced to my first fraction value
 I dont know where i made the mistake :(( I keep
getting the same value for the first fraction even after I multiplied.
It is weire because i get the correct multiplied value but that
number doesnt get replaced to my first fraction value RUN CODE GRADING
EXERCISE DOCS HELP MORE ithis exercise, you must take your Fraction class
from earlier and extend t by adding a few handy methods YOUR

RUN CODE GRADING EXERCISE DOCS HELP MORE ithis exercise, you must take your Fraction class from earlier and extend t by adding a few handy methods YOUR JOB Implement the following methods in the Fraction class public void add(Fraction other) public void subtract(Fraction other) public void multiply(Fraction othen) public int getNumerator() public int getDenominator) public void setNumerator(int x) public void setDenominator(int x) public String tostring() Use the FractionTester file to test as you go along. HINTS Note that public void add(Fraction other) public/ void subtract (Fraction other) publsc/void multiply(Fraction other) are vosd methods. They do not return anything. These methods should not create a new Fraction and return it Instead these methods should modify the instance variables to be added subtracted. or multiplied by the Fraction other 10:06 AME

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!