Solved

In the Code for HourlyEmployee That Is Derived from Employee,the

Question 25

Essay

In the code for HourlyEmployee that is derived from Employee,the constructor code appears
HourlyEmployee::
HourlyEmployee(string theName,
string theNumber,
double theWageRate,
double theHours
)
: Employee(theName,theNumber),
wageRate(theWageRate),
hours(theHours)
{
// deliberately empty
}
Describe the purpose of the items after the colon (:)in this code.

Correct Answer:

verifed

Verified

The call,Employee(theName,theNumber),inv...

View Answer

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