Create object whose variables are appropriately initialized


Problem

I. Create class named Employee that contains: (Static table of type Employee 10 wants ( three private variables of type String (type code int ( monthlySalary type double (Static integer variable countEmployees initialized with 0 (Creation method with arguments initializing the variables of name and monthlySalary . of the object in the next place of the table. (Set and get methods for each variable. (ToString method for formatting objects

II. You create class named Order that contains: Static table type Order 10 positions three private snapshot code variables type int employee type Employee ammount type double Creation method with arguments that properly initialize all the variables of the stigmiotype and save the object to the next position of the table. Set and get methods for each variable. toString method for formatting objects

III. Create class named EmployeeTest which contains a main method. The class is responsible for printing the following menu of options

Menu

• Display all Employees
• Insert new employee
• Give 10% raise to those who have more than one order
• Display how many employee objects have been created

Before printing the menu to make the declaration of 3 employees and corresponding orders. To create suitable orders until only the 3rd meets the criteria for a 10% increase Explanation menu:

• Printing (using the string method) of the employees stored in table

• Create official object whose variables are appropriately initialized from the keyboard and store it in the corresponding table. (Creation and storage shall be carried out only in the case where there is a vacancy available in the table)

• Increase by 10% of the half of employees who have more than 1 order. In the process of printing the names of the employees who received an increase.

• Printing the number of employee type items I created

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create object whose variables are appropriately initialized
Reference No:- TGS03264434

Expected delivery within 24 Hours