Which of the following are member functions of the stack adaptor template? For members of stack, specify any needed arguments.
a. size()
b. empty()
c. top()
d. front()
e. push()
f. back()
g. pop()
h) == (i.e., overloaded operator==)
a), b), c), e), g) and h)
Computer Science & Information Technology
You might also like to view...
If a stack is used by an algorithm to check for balanced braces, which of the following is true of a balanced braces string once the end of the string is reached?
a. the stack is empty b. the stack has one “{” c. the stack has one “}” d. the stack has one “{” and one “}”
Computer Science & Information Technology
Which statement is false?
a. A ListIterator accesses the elements of a List. b. Class ArrayList is a fixed-size array. c. A LinkedList is a linked list implementation of a List. d. ArrayLists execute faster than Vectors because they are not thread safe.
Computer Science & Information Technology