Question

In: Computer Science

package design; public interface Employee { /*Employee is an Interface which contains multiple unimplemented methods.Again few...

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();

}

Solutions

Expert Solution


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


Related Solutions

package SOLUTION; import java.util.Collection; import java.util.Set; public interface MapInterface<K, V> {       /**    *...
package SOLUTION; import java.util.Collection; import java.util.Set; public interface MapInterface<K, V> {       /**    * If the given key is not already in the map, adds the    * key-value pair to the map. Otherwise, updates the old    * value of the existing key to the specified value.    * @param key the key    * @param value the value to be stored in the map with the key    * @return null if the key was not...
Your Objective : Design a bonus compesation package for an Employee Scenario: Gulf corporation is a...
Your Objective : Design a bonus compesation package for an Employee Scenario: Gulf corporation is a company engaged in the trade & manufacturing of medical devices. Lately, the company has been suffering from achieving its profitability objectives. The managing director has decided to introduce an incentivge program for each employee in order to improve business performance and attain profitability effectively. As Head of HR department, you have been assigned to complete this task. Your Parameters are as follows: 1. You...
Consider the following interface: public interface Car{ public String getMake(); public void setMake(); public void honk();...
Consider the following interface: public interface Car{ public String getMake(); public void setMake(); public void honk(); public void crash(); public void drive(); } public interface Boat{ public String getMake (); public void setMake (); public void blast_horn(); public void sink(); public void move(); } 1. Create a concrete FamilyCar class from the Car interface.
package design; public class FortuneEmployee { /** * FortuneEmployee class has a main methods where you...
package design; public class FortuneEmployee { /** * FortuneEmployee class has a main methods where you will be able to create Object from * EmployeeInfo class to use fields and attributes.Demonstrate as many methods as possible * to use with proper business work flow.Think as a Software Architect, Product Designer and * as a Software Developer.(employee.info.system) package is given as an outline,you need to elaborate * more to design an application that will meet for fortune 500 Employee Information *...
Class Employee (All IN JAVA) public class Employee {public String strName, strSalary; public Employee(){strName = "...
Class Employee (All IN JAVA) public class Employee {public String strName, strSalary; public Employee(){strName = " ";strSalary = "$0";} public Employee(String Name, String Salary){strName = Name;strSalary = Salary;} public void setName(String Name){strName = Name;} public void setSalary(String Salary){strSalary = Salary;}public String getName(){return strName;} public String getSalary(){return strSalary;} public String toString(){return(strName + " has a salary of " + strSalary); Create another method to return the name and salary nicely formatted as a string (hint – research the toString method). You...
Q3) Design a class for saving data of employee, the class should have multiple constructors (constructor...
Q3) Design a class for saving data of employee, the class should have multiple constructors (constructor overloading) for initializing objects with different parameters. The employee class should have different functions for saving and updating bio-data, educational background, and current status like experience, Salary, position & travel history. The employee class should have a function which asks user what do he likes to see about employee (.i.e., Bio-data, current status....) and only show the respective data. Create two objects of interns...
a package contains 9 resistors 2 of which are defective if 4 are selected at random...
a package contains 9 resistors 2 of which are defective if 4 are selected at random find the probability of getting 0 defective 1 defective 2 defective
An important part of employee compensation is a benefits package, which might include health insurance, life...
An important part of employee compensation is a benefits package, which might include health insurance, life insurance, child care, vacation days, retirement plan, parental leave, bonuses, etc. Suppose you want to conduct a survey of benefits packages available in private businesses in Hawaii. You want a sample size of 100. Some sampling techniques are described below. Categorize each technique as simple random sample, stratified sample, systematic sample, cluster sample, or convenience sample. Put your answer in the blank. a. Assign...
******. The openintro package contains a data set called bdims, ****which consists of the body dimensions...
******. The openintro package contains a data set called bdims, ****which consists of the body dimensions of 507 physically active individuals. ****Complete a full multivariate regression analysis, ***predicting the variable wgt (weight) using all significant elements. *****You should do a stepwise variable selection procedure, and explore the data. ******** R code
This problem uses the data set Heights from the alr4 package, which contains the heights of...
This problem uses the data set Heights from the alr4 package, which contains the heights of n = 1375 pairs of mothers (mheight) and daughters (dheight) in inches. (Solve this problem in r) (a) Compute the regression of dheight on mheight, and report the estimates, their standard errors, the value of the coefficient of determination, and the estimate of variance. Write a sentence or two that summarizes the results of these computa- tions. (b) Obtain a 99% confidence interval for...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT