Question: please write the code in python You are given following data. Write an OOP program. Print out all information, such as name, age, UID, and

please write the code in python You are given following data. Writeplease write the code in python

You are given following data. Write an OOP program. Print out all information, such as name, age, UID, and salary (hint: careful, trick hidden) Refer to problem-11 (Inheritance). All data remain the same. Consider Employee01 as a member of parent. Similarly, Employee02 as a child class of parent. Zahra wants to know the age of employee01. Write OOP inheritance code. Refer to problem 12 (encapsulation). Everything is same. Modify the code of problem-12 in such a way that Zahra can find out the age of Alex but not his salary. What should Alex do so that Zahra can access all info except his salary. The output should show Alex age and ERROR message related to salary. Write OOP code. This was explained, Feb 17

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!