Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

question in java programming : Write a java program to store employee informatio

ID: 658263 • Letter: Q

Question

question in java programming :

Write a java program to store employee information in a linked list, the program should implement the following functions: function task Insert a new employee Add an new employee to the linked list and store employee's information (ID, name, address, department, sala Update employee information Modify an existing employee's information change address and salary only). You should ask for employee ID to update his/her information Remove an employee Remove the employee using employee ID from the linked list The program should display the list of functions, and ask the user to enter the number of function that he/she wants to do, then perform the function as it is required in the previous table Finally Display all current employees in your linked list, you can create a function called 'display'

Explanation / Answer

import java.io.*;

public class Employee()

{

public employee()

{

public int id;

public string name;

public string steet;

public int number;

public employee(int id,string name,string street,int number);

{

this.id=id;

this.name=name;

this.strret=street;

this.number=number;

}

public string getname()


{

return name;

}

public string getname()


{

return name;

}

public string getname()


{

return name;

}

public string getname()


{

return sxtreet;

}

public string getname()


{

return number;

}

public static void main()

{

employee em=new employee();

emp.add(1);