Solved

CLASS Employee { //Variables

Question 28

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents