A constructor cannot:

a. be overloaded.
b. initialize variables to their defaults.
c. specify return types or return values.
d. have the same name as the class.

C

Computer Science & Information Technology

You might also like to view...

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

1. If a function is expecting a pass by reference parameter, you can pass an index variable from an array of the same base type to that function. 2. When you have a function that expects an array, it should also expect the size of the array or the number of indexed variables with valid data. 3. The following function declaration guarantees the values in the array argument are not changed. void function1(int array[], int numElements); 4. The following function will work with any size integer array. void function1(int array[], int numElements); 5. If you use the const modifier in a function declaration, you do not include it in the function definition.

Computer Science & Information Technology

In SQL, you use keywords to construct statements, which are also known as ____________.

a. queries b. expressions c. determinants d. solutions

Computer Science & Information Technology