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
Q1: What are the advantages of the java.util.Stack
Q2: Stack elements are processed in a FIFO
Q3: When all references to an object are
Q5: What is abstraction and what advantage does
Q6: A Java interface defines a set of
Q7: _ processing can be simulated using a
Q8: What is a data type?
Q9: The order in which references are changed
Q10: Stacks operate as _.<br>A) Last Out, First
Q11: What are the 3 primary methods for