Question: JAVA CODE REQUIRED MAKE A DUMMY FILE WHICH READS INPUT OF 4 EMPLOYEES Employee Types I. The company has three types of employees: the Hourly,

 JAVA CODE REQUIRED MAKE A DUMMY FILE WHICH READS INPUT OF4 EMPLOYEES Employee Types I. The company has three types of employees:the Hourly, Salary, and Commission types. Shown below describe each type of

JAVA CODE REQUIRED

MAKE A DUMMY FILE WHICH READS INPUT OF 4 EMPLOYEES

Employee Types I. The company has three types of employees: the Hourly, Salary, and Commission types. Shown below describe each type of employee Salary Data Hourly Data Commission Data name name name employee number employee number employee number department department department 'H' 'S' type 'C' type type hourly pay rate number of weeks since yearly salary start of year or employment hours worked this week base weekly salary sales this week sales so far this year but not including this week commission rate Hourly Methods Salary Methods Commission Methods 1. ourly() Salary 0 Commission() 2. Hourly (all fields except Salary (all fields except Commission (tall fields type)) type)) except type and this week sales) 3. gets and sets for all data gets and sets for all data gets and sets for all data, but except type(no set, only get) except type(no set, only get) no set for sales for the year and for type(no set, only get) 4. double calcWeeklySalary O double calcWeeklySalary o double calcWeeklySalary 0 5. boolean equals (Employee e) boolean equals (Employee e) boolean equals (Employee e) boolean topSeller O String toString String toString 7. String toString 0 8. void writeData O void writeData o void write Data 0

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!