draw the state-of-memory diagram at the point immediately after the last statement is executed
1.Given the Fraction class from Section 7.8, draw the state-of-memory diagram at the point immediately after the last statement is executed. Fraction f1, f2, f3; f1 = new Fraction(3, 8); f2 = new Fraction(2, 3); f3 = f1.add(f2); 2.Consider the following class. class Dog { . . . private double weight; . . . public […]