What is the action performed by the peek operation?

What will be an ideal response?

The peek operation retrieves the front of a queue, but does not change the queue. That is, it retrieves the item that was added earliest. It throws a QueueException if the retrieval is not successful.

Computer Science & Information Technology

You might also like to view...

Under fair use guidelines, the use of small amounts of information for educational purposes is permitted

Indicate whether the statement is true or false

Computer Science & Information Technology

The Quick Access Tool bar gives you one-click access to commonly executed tasks such as saving a file or undoing recent actions

Indicate whether the statement is true or false

Computer Science & Information Technology