static Fraction Frac1= new Fraction(1,3);
static Fraction Frac2 = new Fraction(2,5);
At the center of non-violence stands the principle of love
.... Martin Luther King, Jr.
Bryan Peach wrote:When I do that and Initiate the frac1 and frac2 in the main method I get compile errors from all the different methods saying they can't find the Values for frac1 and Frac2. The only way it will compile for me is when i have it where it is.
At the center of non-violence stands the principle of love
.... Martin Luther King, Jr.
Experience and talent are independent of age
Bryan Peach wrote:Yeah i understand that part, but what I'm not sure of is how do I pass those values to the constructor? Whats the syntax I guess for passing values to the constructor?
Experience and talent are independent of age
Experience and talent are independent of age
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |