I need to program a java-class "Fraction".
This class should be able to understand the basic arithmetic operations like +, -, *, /. I found lots of "Fraction" classes and understand them, but all use methods like "f1.add(f2);" (f1, f2 are objects of Fraction, for Example:
f1 = new Fraction(1,5);
f2 = new Fraction(2,5);
What I need is a direct manipulation like the manipulation of integers, for example:
**f1 = f1 + f2;**
instead of
f1.add(f2);