If no elements are in the Stack, method pop throws an __________.

a. OutOfMemoryError.
b. OutOfMemoryException.
c. EmptyStackError.
d. EmptyStackException.


d. EmptyStackException.

Computer Science & Information Technology

You might also like to view...

Use the find command to remove all the files in your home directory names core and those having the .bak extension. What command did you use?

The following session shows the command for performing the given task.

Computer Science & Information Technology

The physical address assigned each network adapter is called its ________

A) media access control (MAC) B) network physical address (NPA) C) physical address control (PAC) D) network access control (NAC)

Computer Science & Information Technology

Clicking ____ in the Find and Replace dialog box expands the dialog box to display additional options.

A. Additional B. More C. Extra D. New options

Computer Science & Information Technology

Which Windows 7 feature allows a user to open multiple programs at the same time?

A. Multi-tasking B. Multi-user C. Multi-purpose D. Multi-processing

Computer Science & Information Technology