Question: [JAVA] A company requires a system to manage information on objects of type Employee as outlined below. Employee + employeeCode : string + insuranceNum: int
[JAVA]
A company requires a system to manage information on objects of type Employee as outlined below.
| Employee |
| + employeeCode : string + insuranceNum: int + phone: string + officeNum:int |
| + Employee (employeeCode :string, insuranceNum:int, phone:string, officeNum:int) |
Note: No getters,setters or other methods are required, all state attributes are public.
Note for the rest of the test:
- Attribute1 refers to the employeeCode
- Attribute2 refers to the insuranceNum
- Attribute3 refers to the phone
- Attribute4 refers to the officeNum
Question 1:
Create a Class Employee as outlined above and paste the code for the Employee class definition in the space given below.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
