I believe that I am having trouble understanding how to give a signature of a method in Java. For example, if my code was:
public void addOn(Fraction other) {
number = other.denominator * number + other.numerator * denominator;
denominator = denominator * other.denominator;
and I had to give the signature of the method addOn();
Would the signature for this method simply be addOn(Fraction);?