The class Employee represents employees (in an imaginary accounting app). Each employee has a number of attributes such as name and monthly salary. Most of these attributes are mutable.
Parameters
monthlySalary
the monthly salary of the employee, in euros and excluding any incidental costs
Returns the monthly cost of the employee to the employer. This figure equals the product of the employee’s monthly salary (e.g., 4000), their working time (e.g., 0.6), and a multiplier for incidental costs (e.g., 1.3).
Returns the monthly cost of the employee to the employer. This figure equals the product of the employee’s monthly salary (e.g., 4000), their working time (e.g., 0.6), and a multiplier for incidental costs (e.g., 1.3).
Parameters
multiplier
a multiplier used by the employer to estimate the additional costs of employing a person, apart from their salary