Multiple Choice
What is the principle difference in behavior between a stack and a queue?
A) a stack reverses order whereas a queue preserves order
B) a stack does nothing whereas a queue can preserve and reverse order
C) there is no difference
D) a stack preserves order whereas a queue reverses order
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q23: A _ is an object that gathers
Q24: The term polymorphism refers to a reference
Q25: A _ can be used to reverse
Q26: The toString and equals methods are defined
Q27: A pop operation on a Stack returns
Q29: What is the advantage of postfix notation?
Q30: Each _ on a try statement handles
Q31: What is a collection?
Q32: What is abstraction and what advantage does
Q33: The implementation of the collection operations should