**PLEASE DO IT IN JAVA**
Assignment 9.1 [95 points]
Write a Fraction class whose objects will represent fractions.You should provide the following class methods:
-
Two constructors, a parameter-less constructor that assigns thevalue 0 to the Fraction, and a constructor that takes twoparameters. The first parameter will represent the initialnumerator of the Fraction, and the second parameter will representthe initial denominator of the Fraction.
-
Arithmetic operations that add, subtract, multiply, and divideFractions. These should be implemented as value returning methodsthat return a Fraction object. They should be named addedTo,subtract, multipliedBy, and dividedBy.
-
A boolean operation named isEqualTo that compares two Fractionobjects for equality.
-
An output operation named
OROR