This is going to be a JAVA console/shell application. Here is what I need:
A class that takes rational numbers and calculates the methods sum,
product and the ratio of the two rational objects.
½ * ¼ = 1 / 8
½ / ¼ = 2/1 = 2
Access to the fields should be done only by get and set methods.
Overwrite the toString method for to display the rational numbers.
Implement an additional test environment with a main class, that contains the