Can someone help me with this I need help as soon as possibl

Can someone help me with this? I need help as soon as possible. Thanks

Create an Employee class that will have at least 5 variables including monthly salary, bonus amount, and years on the job along with the usual complement of setters and getters. Create an input method to make it easy for the user to create a new employee object. Create an EmployeeList class that will use the Linked List class in the API to create a Linked List and fill it with 10 employees and their data. Use your employee class input method to create the 10 employees. Do not hard code in the data. Write a method that will reverse the order of the entries in your linked list. Write a method that will remove every other employee from your linked list. Write a method that will \"draw\" or display a linked list graphically on the monitor. Draw each element of the list as a box and indicate the links with arrows. Output the information for each element in the list within your drawing. Limit this to the first three or four elements in the list. Write a method that will add all the salaries of the 10 employees and extrapolate the total monthly salaries to total yearly salaries and display it. Add the bonus amounts to the yearly salary and display it. Create a tester class that will use your methods as well as 4 - 5 from the Linked List class in the API to change, search and/or determine the size of the list. Run your tester class calling all the methods from your EmployeeList class and display the changes in the linked list on the screen.

Solution

a)
class Employee
{
int salary;
int bonusAmount;
int years;
String name;
int employeeId;

void setSalary(int salary)
{
this.salary = salary;
}

int getSalary()
{
return salary;
}

void setBonusAmount(int bonusAmount)
{
this.bonusAmount = bonusAmount;
}

int getBonusAmount()
{
return bonusAmount;
}

void setYears(int years)
{
this.years = years;
}

int getYears()
{
return years;
}

void setName(String name)
{
this.name = name;
}

String getName()
{
return name;
}

void setEmployeeId(int employeeId)
{
this.employeeId= employeeId;
}

int getEmployeeId()
{
return employeeId;
}

public static void main(String args[])
{
Employee e = new Employee();
}
}

Can someone help me with this? I need help as soon as possible. Thanks Create an Employee class that will have at least 5 variables including monthly salary, bo
Can someone help me with this? I need help as soon as possible. Thanks Create an Employee class that will have at least 5 variables including monthly salary, bo

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site