rendered paste body/** * An employee class that keeps track of names and salaries */public class Employee { private String fullName; private double salary; /** * Default Employee Constructor */ public Employee() { this.fullName = "Anonymous"; this.salary = 0; } /** * Custom Employee Constructor * @param theirName Full Name * @param theirSalary Salary */ public Employee(String theirName, double theirSalary) { this.fullName = theirName; this.salary = theirSalary; } /** * Returns the Name of Employee * @return Full Name */ public String getName() { return this.fullName; } /** * Returns the Salary of Employee * @return Salary */ public double getSalary() { return this.salary; }}