Page 1 of 1

What happens when you pop from an empty stack while implementing using the Stack ADT in Java?

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) Undefined error
b) Compiler displays a warning
c) EmptyStackException is thrown
d) NoStackException is thrown