Back to Library
QID: #29170
Solution for QID #29170: Java program Task 1: Create a class Employee with followi | StudyHelpMe
Java program
Task 1: Create a class Employee with following attributes empID, empName, status as enumeration wich has two possible values PermanantEmployee and VisitingEmployee. Create a class Department which depName and depEmployees(of type Employee). All attributes are privates and exposed via getter and setter. Both classes have a fully parameterized constructor.
Task 2: In main class, create an Arraylist of Department. Create a static method to insertData() to add data in ArrayList( Ask user to input data in the list). Create another method deleteData() which will delete specific employee from given index. Create another method named updateData() which will update status of an employee. Create another method displayData() which will print data of departments.
ZERO AI
Human Written
Human Written
PHD EXPERTS
Verified
Verified
TURNITIN
Clean Report
Clean Report
FAST DELIVERY
Instant/Hourly
Instant/Hourly