Describe the purpose of the items after the colon (:) in this code.

In the code for HourlyEmployee that is derived from Employee, the constructor code
appears
What will be an ideal response?
```
HourlyEmployee::
HourlyEmployee(string theName,
string theNumber,
double theWageRate,
double theHours
)
: Employee(theName, theNumber),
wageRate(theWageRate),
hours(theHours)
{
// deliberately empty
}
```


The call, Employee(theName, theNumber), invokes the base class
constructor to initialize the data members in the members of HourlyEmployee
that are inherited from the base class Employee. The next two items,
wageRate(theWageRate) and hours(theHours) are initializers for the
data members wageRate and hours in the derived class.

Computer Science & Information Technology

You might also like to view...

Which programming language adds object-oriented features to C?

a. Objective C b. PHP c. C# d. C++ e. Java

Computer Science & Information Technology

Which of the following is not true regarding generational differences?

A) Many older members of this community have very rudimentary computer skills, and their needs are very simple. B) Our society is in the midst of a technology shift and all older members of this community are just barely, if at all, computer literate. C) Many senior citizens rely on e-mail to communicate with family members, but they are only comfortable accessing it from their home computer where an e-mail program is easily accessed via a desktop icon without a password. D) Senior citizens probably do not travel with their own computer and have to rely on what is available.

Computer Science & Information Technology

A field that is being removed from the PivotTable report is indicated by a(n):

A) no symbol. B) X. C) delete button. D) gray area.

Computer Science & Information Technology

You are designing a multi-platform web application for AWS The application will run on EC2 instances and will be accessed from PCs. tablets and smart phones Supported accessing platforms are Windows. MACOS. IOS and Android Separate sticky session and SSL certificate setups are required for different platform types which of the following describes the most cost effective and performance efficient architecture setup?

A. Setup a hybrid architecture to handle session state and SSL certificates on-prem and separate EC2 Instance groups running web applications for different platform types running in a VPC B. Set up one ELB for all platforms to distribute load among multiple instance under it Each EC2 instance implements ail functionality for a particular platform. C. Set up two ELBs The first ELB handles SSL certificates for all platforms and the second ELB handles session stickiness for all platforms for each ELB run separate EC2 instance groups to handle the web application for each platform. D. Assign multiple ELBS to an EC2 instance or group of EC2 instances running the common components of the web application, one ELB for each platform type Session stickiness and SSL termination are done at the ELBs.

Computer Science & Information Technology