1. public class Employee {2. String name;3. double baseSalary;4. Employee(String name, double baseSalary) {5. this.name = name;6. this.baseSalary = baseSalary;7. }8. }And:1. public class Salesperson extends Employee {2. double commission;3. public Salesperson(String name, double baseSalary,4. double commission) {5. /*insert code here*/6. }7. }