The __________ method in the Queue interface retrieves, but does not remove, the head of this queue, throwing an exception if this queue is empty.

a. poll()
b. remove()
c. peek()
d. element()


d

Computer Science & Information Technology

You might also like to view...

Which of the following is the superclass constructor call syntax?

a. keyword super, followed by a dot (.) . b. keyword super, followed by a set of parentheses containing the superclass constructor arguments. c. keyword super, followed by a dot and the superclass constructor name. d. None of the above.

Computer Science & Information Technology

Draw glasses on a picture of a person who doesn’t normally wear glasses.

What will be an ideal response?

Computer Science & Information Technology

Only specific values can be entered into a field when the ________ property is applied

A) validation rule B) Modal C) Caption D) Required

Computer Science & Information Technology

Hyper-V generates an initial MAC address for the network adapter, and this default option uses a ________ MAC address

a. Dynamic b. Static c. Domain d. None of the above

Computer Science & Information Technology