Multiple Choice
What exception is thrown if the pop method is called on an empty stack?
A) EmptyStackException
B) NoSuchElementException
C) ArrayOutOfBoundsException
D) EmptyCollectionException
E) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q24: Which of the following methods removes an
Q25: Which of the following methods inserts an
Q26: What is wrong with implementing a queue
Q27: A postfix expression can be easily evaluated
Q28: Suppose there were no count variable stored
Q30: Which of the following is not a
Q31: A queue is a FIFO structure.
Q32: Write out the order of elements that
Q33: It is only possible to implement a
Q34: List the five basic operations on a