Question 1: You are requested to create Employee class, to hold employee's information. Choose the appropriate variables
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 1: You are requested to create Employee class, to hold employee's information. Choose the appropriate variables
Question 1: You are requested to create Employee class, to hold employee's information. Choose the appropriate variables for your employees. Variables can be (but not limited to): name, ID, CPR, age, salary, working hours. Use chain exceptions to verify at least two of the variables. Add bonus or deduction method, that increments/decrements their salaries according to your rules. Add comments to explain your code and ideas.