The first step involved in making a class out of a class template is:

A. the compiler substitutes the type in angle brackets for DataType throughout the class.
B. the compiler encounters the line of code:
template
C. the compiler encounters the declaration of an object using a class template with a data type specified in angle brackets
D. none of the above


C

Computer Science & Information Technology

You might also like to view...

Who can access private data in a class?

a. members of the class b. friends of the class c. everyone d. B and C e. no one

Computer Science & Information Technology

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

1. The type of the variable naming an object determines which method names can be used in an invocation with that calling object. 2. Downcasting should be used only in situations where it makes sense.

Computer Science & Information Technology

$A3$ is an example of an absolute cell reference

Indicate whether the statement is true or false

Computer Science & Information Technology

Adding ________ to a document help draw the reader's attention or highlight an important fact or idea

A) styles B) paragraphs C) words D) graphics

Computer Science & Information Technology