Multiple Choice
CLASS Employee {
//Variables
String LastName;
String FirstName;
Real HourlyRate;
Integer HoursWorked;
String Job;
Date HireDate;
Real Monthly_Salary;
//Methods
String GetLastName() ;
String GetFirstName() ;
String GetJob() ;
Real GetSalary() ;}
The class Clerk is a subclass of the class Employee
CLASS Clerk: Employee {
//Variables
Real HourlyRate;
Integer HoursWorked;
//Methods
Real GetSalary() ;}
The class Salesperson is a subclass of the class Employee
CLASS Salesperson: Employee {
//Variables
Real Base_Salary;
Real Commission_rate
Real Sales;
//Methods
Real GetSalary() ;}
The class PartClerk is a subclass of the classes Clerk and Salesperson
CLASS PartClerk: Clerk, Salesperson {
//Variables
Real PercentClerk;
//Methods
Real GetPercentClerk() ;}
-An object of the class PartClerk is created for Lee (last name) .Given the information shown,the method GetSalary:
A) Is the one defined in Employee
B) Is the one defined in Clerk
C) Is the one defined in Salesperson
D) Cannot be determined
Correct Answer:

Verified
Correct Answer:
Verified
Q16: There is a request to delete the
Q17: CLASS Employee {<br>//Variables<br>String LastName;<br>String FirstName;<br>Real HourlyRate;<br>Integer
Q18: There is a request to insert a
Q19: In object-oriented computing,the programming language is responsible
Q20: There is a request to delete the
Q22: The component for the following function of
Q23: An implicit method of a user-defined type
Q24: In the object relational approach,the database language
Q25: Oracle 9i follows the SQL:1999 standard in
Q26: In the specialized media server approach to