The line beginning with a colon(:)

Assuming the following is the beginning of the constructor definition for class BasePlus-
CommissionEmployee which inherits from class Point:
BasePlusCommissionEmployee::BasePlusCommissionEmployee(string first,
string last, string ssn, double sales, double rate, double salary)
: CommissionEmployee(first, last, ssn, sales, rate)
a. Invokes the CommissionEmployee constructor with arguments.
b. Causes a compiler error.
c. Is unnecessary because the CommissionEmployee constructor is called automatically.
d. Indicates inheritance.


a. Invokes the CommissionEmployee constructor with arguments.

Computer Science & Information Technology

You might also like to view...

Variables defined inside a member function of a class have:

a. File scope. b. Class scope. c. Block scope. d. Class or block scope, depending on whether the binary scope resolution operator (::) is used.

Computer Science & Information Technology

A drop cap can be placed in the margin next to the paragraph, or with text wrapped around the character

Indicate whether the statement is true or false

Computer Science & Information Technology

What does a toast notification use to display a message?

A. half of the screen B. only the amount of space needed C. one line D. the whole screen

Computer Science & Information Technology

A single pixel is equal to 1/96 of an inch. ____________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology