Sup Java Com Work Instant
import com.example.work.employee.Employee;
public Manager(String name, int id, double baseSalary, double bonus) { super(name, id, baseSalary); // use of super to call parent constructor this.bonus = bonus; } sup java com work
import com.example.work.employee.Employee; import com.example.work.employee.Manager; import com.example.work.util.Formatter; import com
public Employee(String name, int id, double baseSalary) { this.name = name; this.id = id; this.baseSalary = baseSalary; } public Manager(String name
package com.example.work.util;
public double getSalary() { return baseSalary; }