package exp6; public abstract class Operation { double a; double b; public void setNumber(double a, double b){ this.a = a; this.b = b; } abstract double result(); }