A(n) ________ is used in a function template to specify a generic data type.

A) dummy variable
B) exception
C) catch block
D) type parameter
E) None of the above

D) type parameter

Computer Science & Information Technology

You might also like to view...

The ________ function calculates the periodic interest rate of a loan or investment

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following statements is false?

a. References to interface types do not have access to method toString. b. Method toString can be invoked implicitly on any object. c. With inheritance, classes and their inherited classes tend to be very similar. d. Dramatically different classes can often meaningfully implement the same interface.

Computer Science & Information Technology