The __________ method in the Queue interface retrieves and removes the head of this queue, or null if this queue is empty.

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

a

Computer Science & Information Technology

You might also like to view...

When importing data into an Access database, the imported data:

A) will always append the data to the end of the current database. B) will never overwrite the current data. C) will always overwrite the data in the current database. D) might overwrite the current data in the database depending on the settings you specify during the import process.

Computer Science & Information Technology

Mail sent through the U.S Postal Service is sometimes called ________

A) letters B) paper mail C) snail mail D) postcards

Computer Science & Information Technology