Question: In this exercise, you are going to create the instance variables for an Employee class. The class needs to store the employee s name, their
In this exercise, you are going to create the instance variables for an Employee class. The class needs to store the employees name, their digit id number, and hourly salary. You will need to give the instance variable an appropriate name, type, and privacy settings.
After defining the instance variables, create the structure for the constructor, similar to the previous exercise. Make sure you set the privacy settings on the constructor correctly.
Note: Because there is no main method, your code will not execute thats ok Use the autograder to verify that you have the correct code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
