java i have a assignment of oop by using java can any body help me pz

: Design and implement these four classes Employee, MonthlySalEmployee, HourlySalEmployee, Company and implement the following functions:

⦁ Create an application class with N HourlySalaryEmployee objects and N MonthlySalEmployee objects.
⦁ Create constructors, accessor and mutator as per your need in the program
⦁ Should ask the user to input the data for the MonthlySalEmployee and parent class attribute, same for the HourlySalEmployee class
⦁ should calculate average salary of all Hourly Employee and Monthly Employee respectively
⦁ Displayinfo() should display all the information of the all the attributes of the class and parent class and salary.
⦁ calcSal() should calculate salary according to class criteria

Recommended Answers

All 2 Replies

Hello. We can help you learn how to do this, but we won’t do it for you. What have you got so far?

commented: but i have only 2 hour +0

AMNA_5 commented: but i have only 2 hour

Then I'm sorry, but you have left it far too late. All you can do is to learn from this mistake and start your next project in good time.

commented: ok now u can help me now i have 2 days for this +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.