I am trying to do my next Java homework, but I'm still a bit lost on mutators. Can anyone give me a better, perhaps less jargony, answer? The textbook we are using takes jargon to the extreme. I know some jargon is needed, but this is ridiculous. I did a search on here, but the topics I read didn't explain mutator methods, just mentioned them in the code or said something was similar to them. If I missed one that explains them, please point it out to me! I didn't do a search for accessors, but I'm just as lost.

If only my professor would provide more help than basically, here's the outline and book, e-mail me if you have questions. Covering 2 chapters a week doesn't help either. Urgh...

Not asking you to do it for me, but the current problem is below. I'm going to have to look up how to do fractions. It has been too long!

Quote

**Fraction**. This class is used to represent a ratio of two integers. Include mutator methods that allow the user to set the numerator and the denominator. Also include a method that displays the fraction on the screen as a ratio (e.g., 5/9). This method does not need to reduce the fraction to lowest terms.

Include an additional method,

**equals**, that takes as input another

**Fraction**and returns

**true**if the two fractions are identical and

**false**if they are not. This method should treat the fractions reduced to lowest terms; that is, if one fraction is 20/60 and the other is 1/3, then the method should return

**true**.

Embed your class in a test program that allows the user to create a fraction. Then the program should loop repeatedly until the user decides to quit. Inside the body of the loop, the program should allow the user to enter a target fraction into an anonymous object and learn whether the fractions are identical.

Thanks,

JRDPA