Which of the following stack operations is not likely to cause an exception to be thrown?

a) adding an item to the stack when the stack is full
b) adding an item that has the same value as one that is already in the stack
c) removing an item when the stack is empty
d) all of a), b), and c)
e) All of these are likely to cause an exception to be thrown

b) adding an item that has the same value as one that is already in the stack

Computer Science & Information Technology

You might also like to view...

In a business letter the ________ character follows the greeting line

A) comma B) chevron C) colon D) semi-colon

Computer Science & Information Technology

The ____ operator is used for concatenating.

A. + B. & C. AND D. OR

Computer Science & Information Technology