Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 0Step 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