Solved

CLASS Employee { //Variables

Question 44

Multiple Choice

CLASS Employee {
//Variables
String LastName;
String FirstName;
Real HourlyRate;
Integer HoursWorked;
Date HireDate;
String Job;
//Methods
Real Salary() ;
String GetLastName() ;
String GetFirstName() ;
String GetJob() ;}

-If the type of the data HoursWorked is changed from integer to real,the following will need to be changed:


A) A program that displays an Employee's name and salary
B) The method Salary()
C) All of the above
D) None of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions