Answered step by step
Verified Expert Solution
Question
1 Approved Answer
java hw make sure the answer is 100% correct thanks in advanced III. Programming (3 questions, 10pts for each, 30pts) 1. Please use the object-oriented
java hw
make sure the answer is 100% correct
thanks in advanced
III. Programming (3 questions, 10pts for each, 30pts) 1. Please use the object-oriented method to design the company's employee management program according to the following description. A company has two roles: Employee and Manager. The manager is a special employee. Each employee object contains information about id, name, and age. In addition to the above basic information, the manager object also has position information. Employees and managers in the company have the following two basic operations: 1) printInfo() can output the basic information of the object (2) retire() can judge whether the retirement age is reached the company stipulates that the retirement age of employees is 60 years old and the retirement age of managers is 65 years old) Requirements: Complete the design of the Employee class and Manager class, and write a test class to initialize some employee and manager information and output the information of employees and managers who have reached the retirement ageStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started