Classes cannot:

a. Be derived from other classes.
b. Initialize data members in the class definition.
c. Be used to model attributes and behaviors of objects.
d. Include objects from other classes as members.


b. Initialize data members in the class definition.

Computer Science & Information Technology

You might also like to view...

A FormatException is used to handle:

a) extra spaces input by the user b) errors with deleting a file from disk c) wrong data type inputs d) all of the above

Computer Science & Information Technology

Write the following do-while statement with a while construct, and maybe some extra code.

``` x = 10; do { cout << x << endl; x = x - 3; } while ( x > 0 ); ```

Computer Science & Information Technology

Your colleague has not used Visual Basic in a while and so when he encounters a decision point, he sometimes calls out to you over the cubicle wall to get answers to his questions. He wants help remembering which method of passing an argument will give the Sub procedure access to the value of the passed argument without actually referencing the variable declared in the calling procedure. Which of the following do you suggest to him?

A. ByVal B. ByRef C. ByArg D. ByInd

Computer Science & Information Technology

What is the primary performance consideration for a home server PC that streams media?

A. High-end graphics B. Theater-quality sound C. Security settings D. Fast network connection

Computer Science & Information Technology