In: Computer Science
package design; public interface Employee { /*Employee is an Interface which contains multiple unimplemented methods.Again few methods has been declared in below. you need to brainstorm to add more methods to meet the business requirements. */ //please read the following method and understand the business requirements of these following methods //and then implement these in a concrete class. //employeeId() will return employee id. public int employeeId(); //employeeName() will return employee name public String employeeName(); //assignDepartment() will assign employee to departments public void assignDepartment(); //calculate employee salary public int calculateSalary(); //employee benefit public void benefitLayout(); }
interface Employee {
/*Employee is an Interface which contains multiple
unimplemented methods.Again few methods
has been declared in below. you need to brainstorm to
add more methods to meet the business requirements.
*/
//please read the following method and understand the
business requirements of these following methods
//and then implement these in a concrete class.
//employeeId() will return employee id.
public int employeeId();
// will assigns the employee id
public void setEmpoyeeId(int i);
//sets employee name
public void setEmployeeName(String name);
//employeeName() will return employee name
public String employeeName();
//assignDepartment() will assign employee to
departments
public void assignDepartment();
//calculate employee salary
public int calculateSalary();
//employee benefit
public void benefitLayout();
}
NOTE : PLEASE COMMENT BELOW IF YOU HAVE CONCERNS.
I AM HERE TO HELP YOUIF YOU LIKE MY ANSWER PLEASE RATE AND HELP ME IT IS VERY IMP FOR ME