Multiple Choice
Which of the following is not an operation on a stack?
A) push
B) pop
C) peek
D) dequeue
E) all of the above are operations on a stack
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q15: What is wrong with the java.util.Stack implementation
Q16: Write an enqueue method for a queue
Q17: Explain how a queue can be implemented
Q18: Write an enqueue method for a queue
Q19: Write a push method for a stack
Q21: Write a push method for a stack
Q22: It is possible to implement a stack
Q23: A stack is a _ data structure.<br>A)
Q24: Which of the following methods removes an
Q25: Which of the following methods inserts an