Examlex

Solved

CLASS Employee { //Variables

question 17

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

-The class Clerk does not inherit the following data from the class Employee:


Definitions:

Technical Teams

Groups of professionals with specialized skills and knowledge focused on achieving specific technological goals or resolving technical issues.

Outcome Fairness

A concept in ethics and law where the focus is on the fairness of the results of a decision or a process, ensuring that all participants receive equitable treatment.

Amicable Discharge

A mutual agreement between an employer and an employee to end employment on good terms.

Employee Engagement

The degree to which employees are fully involved in their work and the strength of their commitment to their job and company.

Related Questions