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 4 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 (that's ok). Use the autograder to verify that you have the correct code.



Answer :

Other Questions