Because all the elements of a stack are of the same type, you can use a(n) ____ to implement a stack.

A. struct
B. array
C. record
D. class

Answer: B

Computer Science & Information Technology

You might also like to view...

________ is used to recognize a pattern in data and then automatically enter the rest of the data

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

To declare class subClass a privately derived class of superClass one would write:

a. class subclass : private superClass b. class subclass :: private superClass c. class subclass < private superClass > d. class subclass inherits private superClass

Computer Science & Information Technology