Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Please use ***C Sharp** Language to answer the code

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases 11th British National Conference On Databases Bncod 11 Keele Uk July 7 9 1993 Proceedings Lncs 696

Authors: Michael F. Worboys ,Anna F. Grundy

1993rd Edition

3540569219, 978-3540569213

More Books

Students also viewed these Databases questions

Question

Define policy making?

Answered: 1 week ago

Question

Define co-ordination?

Answered: 1 week ago

Question

What are the role of supervisors ?

Answered: 1 week ago