My computeCommission is not working because I keep getting 0.0 instead of the actual commission value
HTML Code:package lab4; public abstract class Policy { public double commission; public Policy(){ commission = 0.0; } public abstract void computeCommission(); public double getCommission() { return this.commission; } public void setCommission(double commission) { this.commission = commission; } public String toString() { return "Commission: " + commission + "\n"; } }HTML Code:package lab4; public class Auto extends Policy{ String insured; String make; String model; double liability; double collision; public Auto(String insured_, String make_, String model_, double liability_, double collision_){ super(); insured = insured_; make = make_; model = model_; liability = liability_; collision = collision_; } public Auto(){ super(); insured = null; make = null; model = null; liability = 0.0; collision = 0.0; } public String getMake() { return make; } public void setMake(String make) { this.make = make; } public String getModel() { return model; } public void setModel(String model) { this.model = model; } public double getLiability() { return liability; } public void setLiability(double liability) { this.liability = liability; } public double getCollision() { return collision; } public void setCollision(double collision) { this.collision = collision; } @Override public void computeCommission() { commission = (liability+collision)*1.30; } public String toString(){ String shapeString = super.toString(); return("AUTO INSURANCE POLICY" + "\n\t" + "Policy information includes: " + "\n\tName: " + insured + "\n\tMake and Model: " + make + " " + model + "\n\tLiability: " + liability + "\n\tCollission: " + collision + "\n\t" + shapeString + "\n-------------------------------------------"); } public String Error(){ return("Quit"); } }