Question: fix error in this class - java 30 import java.util.Observable; 6 public class A implements Observer f 7 private double limit; C c; 10 11
fix error in this class - java




30 import java.util.Observable; 6 public class A implements Observer f 7 private double limit; C c; 10 11 public A(double limit) 12 13 -14public void update(Observable o, Object arg) f 15 16 17 18 19 public String dispO this.limitlimit; if (c.getAvglimit)E IIcalls getAvgO method from a instance of B class System.out.println(dispO); String d = "avg s " + obsrnava: // obsr-sum of all observation, and divide it by the quantity of them; return d; x20 21 23 24 25
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
