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() ;}
-The class Clerk does not inherit the following method from the class Employee:
A) The method GetLastName
B) The method GetFirstName
C) The method GetSalary
D) The method GetJob
Correct Answer:
Verified
Q22: Which of the following applications is supported
Q23: CLASS Employee {
//Variables
String LastName;
String FirstName;
Real HourlyRate;
Integer
Q24: CLASS Employee {
//Variables
String LastName;
String FirstName;
Real HourlyRate;
Integer
Q25: SQL:1999 supports the definition of structured data
Q26: Since Oracle 9i differs from SQL:1999 in
Q28: CLASS Employee {
//Variables
String LastName;
String FirstName;
Real HourlyRate;
Integer
Q29: Which of the following applications is supported
Q30: Oracle 9i follows the SQL:1999 standard in
Q31: CLASS Employee {
//Variables
String LastName;
String FirstName;
Real HourlyRate;
Integer
Q32: CLASS Employee {
//Variables
String LastName;
String FirstName;
Real HourlyRate;
Integer
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents