java program to create table “Employee” with following attribute Employee Id, Employee Name, Address, Employee Designation, Department, Gender, Salary, City and State. Write a menu program in java to Insert Employee Record, Update Employee Name on the basis of Employee Id, Delete the Employee Record on the basis of Employee Id and View Record from the Employee table.
Answers
Answered by
2
Answer:
Many time we need to sort arraylist of objects by field or alphabetically, especially if you are working on a domain where people are your main entities (e.g. HR), you will encounter this requirement more frequently. There are many ways to sort such lists, which ranges from sorting on client UI using javascript to sort arraylist of objects on server side using complex algorithm, and sometimes in database too.
Explanation:
Similar questions