The push operation throws a StackException when it tries to ______.

a) add an item to an empty stack
b) add an item to an array-based implementation of a stack that is already full
c) delete an item from an array-based implementation of a stack that is already full
d) delete an item from an empty stack

b.

Computer Science & Information Technology

You might also like to view...

The ________ keystroke moves the selection to the first field in the table or the beginning of the selected field

A) ENTER B) TAB C) CTRL+HOME D) Page Up

Computer Science & Information Technology

Declaring instance variables ________ is known as data hiding or information hiding.

a. secure b. private c. static d. masked

Computer Science & Information Technology