Question: JAVA. It is a review test. If I just know the answers, I will figure the rest out. Thank you. 10) Consider the following class
JAVA. It is a review test. If I just know the answers, I will figure the rest out. Thank you.
10) Consider the following class definitions: public class Employee public class SalariedEmployee extends Employee Which of the following is incorrect? A) SalariedEmployee is a subclass of Employee B) Employee is a superclass of SalariedEmployee C) SalariedEmployee inherits all properties and methods of Employee D) Employee is a subclass of java.lang.Object E) Employee does not inherit from Object (example: equals0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
