Question: Please code in C#. Update the Employee class to increase data security: 1) Change the visibility of the variables and constructor in the Employee class
Please code in C#.
Update the Employee class to increase data security: 1) Change the visibility of the variables and constructor in the Employee class to be more secure 2) Add an Admin class with the following features: a) The Admin class is a child of the Employee class b) Admin objects have an instance string password variable c) The Admin class has a 4 parameter constructor. One parameter sets the string, the other three parameters are used as arguments for a parent constructor call. d) Admin objects have an instance getInformation() method with a void return and an Employee object parameter. The method will request the calling Admins password and check user input. If input matches the password, the method will display the information of the Employee parameter.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
