Norm you are BRILLIANT thankyou for all of your help here is the code do you have any further pointers ?
public Fraction add(Fraction f)
{
int n,d;
if(denominator ==...
Type: Posts; User: shamman84
Norm you are BRILLIANT thankyou for all of your help here is the code do you have any further pointers ?
public Fraction add(Fraction f)
{
int n,d;
if(denominator ==...
What is my method returning can it return a new instance of the class if so what is the syntax ? public ___ add(Fraction a)
Thanks for the response Norm , i know how to create the instances im just having trouble understanding how my method is taking the values from both classes and producing a new instance with the new...
Hey community i was assigned a home work asking me to create a method to add two instances of a fraction object and have the output be a new instance .
here is the prompt i was given
...