package ming; enum Operation { PLUS { public double eval(double x, double y) { return x + y; } }, MINS { public double eval(double x, double y) { return x - y; } }, TIMES { public double eval(double x, double y) { return x * y; } }, DIVIDE { public d…