To tell a compiler that a class specification file contains a class template, rather than a class:
A. the phrase “CLASS TEMPLATE” must be written at the top of the file and must be in capital letters.
B. the word DataType must appear somewhere in the class
C. we can use the line of code
template
directly above what would otherwise be the class definition
D. we #include the class implementation file at the end of the class specification file
C
You might also like to view...
If you are sharing a computer with others and have added building blocks, you should restore Word to its ________, or original settings
Fill in the blank(s) with correct word
Short-circuit evaluation refers to:
a) Jumping from the try block to the catch block when an exception is thrown. b) Avoiding the testing of a boolean condition that is unnecessary. c) Truncating the integer result of a division operation. d) Avoiding the execution of the else clause of an if-statement.