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.
You might also like to view...
An array called carList contains elements of struct type car which has components model, year and price. Which of the following will reference the year of the third car?
a) carList[2].car.year b) car[2].year c) carList.year[2] d) carList[2].year
Answer the following statements true (T) or false (F)
1. The first element in an array called names is names[1]. 2. The last element in the array defined by float pay[12]; is pay[12]. 3. Parallel arrays are arrays with the same number of elements used to store related information. 4. In the following array: 15 8 10 11 72 10 is a subscript. 5. In the following array: 4 6 35 78 94 3 53 76 6 is an element.