Question: bllc class Employee private int empid private String empHame private static double salary, publie Emplovee) this (9999,. publie Employee(int id, String name, double salaryh this.emplde

 bllc class Employee private int empid private String empHame private static
double salary, publie Emplovee) this (9999,. publie Employee(int id, String name, double

bllc class Employee private int empid private String empHame private static double salary, publie Emplovee) this (9999,. publie Employee(int id, String name, double salaryh this.emplde id, this.emptame- name publie void intoo System.out printhrl"id public vold SetName (String name) this.emptame - public int Getid O return empld, 1 public static public static double Itncre public static vold main String args) { return salary; return salaryesalary 1.1, e obji - new Employee(10245A,10000.0y Employee obj2 - new E newsalarys obj1.increaseSalaryO obj1info): obj2.info: Ilend Main end Class 1- The method Employee(int id,String name, double salary) is C. a destructor D. none of the above E. a mutator 2- Which of the following is true for the class Employee(maltiple answers are pesible B. has only one mutator method D. does not have a static method A. has two variables and 8 methods C. has two constructors E. thier constructor are overloaded can be replaced by B. double newsalary salay L.I ary0: D. All of the above are correct tement : double newsalary- objl.IncreaseSalary0: A. double n C. double newsa E. double n 1.1 A. 10000.0 for Ali and 20000.0 for Mohamed B. 22000 for Ali and 20000 22000.0 for Mohamed: D. 2200.0 for Ali and 100 4- Once all the statements of the main method are executed the salaries will be Mohamed: D. C. 11000.0 for Ali and B. Id: 92232 ld: 10 D. S- The output displayed by the statement obj2.info0 is Name: Mohamed Salary: 20000.0 C. Id: 92232 Name: Mohamed Salary:22000.0 2/6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!