Create an efficient, well-documented object-oriented application to manage all of the job offers that an upcoming graduate is getting. All offers must include the company name and the number of miles from home. There are three types of offers:
- Part-Time employment (hours less than 40 at an hourly rate for 52 weeks),
- Full-Time employment with no benefits (offers an annual salary), and
- Full-Time employment with benefits (the annualized compensation for health is $6000 and the annualized compensation for retirement is $10,000).
When the application launches, the user will be prompted to enter their job offers (NOTE: duplicate job offers should NOT be accepted).
Once all offers are entered, the application should present the user with all of their offers. Finally, the suggested acceptance (based on highest annualized salary) should be presented.
You must overload the toString() and equals() methods from the Object class in all of your data definition classes.© BrainMass Inc. brainmass.com July 16, 2018, 7:41 pm ad1c9bdddf
Please rename the attached 534297-JobManager.java as JobManager.java before you try to compile and run the program. Code is easily understandable due to simple logic, self explaining variables and methods names, even though commenting is not extensive.
It contains following classes:
class JobOfferPT extends JobOffer
class JobOfferFT extends JobOffer
class JobOfferFTWB extends JobOfferFT
As of now health and retirement benefits are fixed, so equals method is redundant in class JobOfferFTWB, but it will be meaningful if these benefits varied from company to company. In that case readJobOffer method will also need update to ...
Solution contains following classes: JobOffer, JobOfferPT (extends JobOffer), JobOfferFT (extends JobOffer), JobOfferFTWB (extends JobOfferFT), and JobManager.
As of now health and retirement benefits are fixed, so equals method is redundant in class JobOfferFTWB, but it will be meaningful if these benefits varied from company to company.