Suppose we have a class template called Stack, and we wish to make a class from the class template for a stack of strings. We also wish to declare a stack object called stk using this stack class. To do this, in the main program we would type the line of code:

A. Stack stk;
B. Stack string;
C. Stack string;
D. Stack stk;

D

Computer Science & Information Technology

You might also like to view...

Match the following terms to their meanings:

I. binary system II. transistor III. bit IV. amplitude V. pixel A. strength of signal B. each zero or one C. consists of two digits - 0s and 1s D. tiny electrical switches made of solid crystals E. each small element of a picture

Computer Science & Information Technology

Only individuals with a(n) ________ will be able to stop enforcing the protection applied to a document

Fill in the blank(s) with correct word

Computer Science & Information Technology