// Sample class with stub constructor and methods public class Rational { public Rational (int x, int y) { } public Rational reciprocal () { return new Rational (1, 2); } public Rational add (Rational op2) { return new Rational (1, 2); } public Rational subtract (Rational op2) { return new Rational (1, 2); } public Rational multiply (Rational op2) { return new Rational (1, 2); } public Rational divide (Rational op2) { return new Rational(1,2); } }