Answered step by step
Verified Expert Solution
Question
1 Approved Answer
java program Due Date: Dec 15, 2023 Concepts: Classes and objects, inhericance Point value: 40 points. The purpose of this preject is to give students
java program
Due Date: Dec 15, 2023 Concepts: Classes and objects, inhericance Point value: 40 points. The purpose of this preject is to give students exposure to object-oriented design and propramming aking classea and polymorphism in a realistic application that involves arrays of objects and sorting arrays containing objects. You mill arite several diasses, Enum and a recond for thes Propram. Please submit all your code lin one alp fle. The name of the main program should be submitted as xxxx_ program, where xxix is your Keas student id. Assignment: You are tasked with developing a program for an MR department to manage ther employee records. The program will read employet information from a flat text filt, sort the employees by their employment type and other criteria, and pererate a report. The first line contains the number of employees listed in the file. The fields below reseat for auch employee record: - Employee to (numeric) - Name (String) - Department \{String\} - Date of Are (LocaiDate or bate) - Employment Jype (Enum) - Salary (mumeric) 1) Implement EmploymentType Enum: Define a Enum EmploymentType with possible types matching an imput file. An employee can be hived fas-ome, part-time, or can be a contractor of an intern. 2) Implement Emploree Record: Define a recons Emplevee with fields for ID, name, department, date of hirt, employment type, and sailary. Include a toString() method to represent the encloyee recond as a string. Hint: vour Emplevees should be Cemparable 3) Implement xaxK_HRTest Class, that has the following: - Create an amar (or an Arraylist) to store Employe recands. Update a single record in the input file to your personal information with your actual Kean ID, fink name and last name. - implement a method to formut and print the report with headers and pape breais (and tent ac). Insert a pege break every 40 employees. The mait method should orchestrate reacting the fle, sorting the emplovet, and pninting the report. 4) Provide a UML diagram of the Employee record with any classes f intertaces it inherits from. - Subme your project in one file, XKOC.HRTest.zip, where worr is your Kean enail id Step 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