peek(): retrieves, but does not remove, the head of this queue, returning null if this queue is empty.
offer(): inserts the specified element into this priority queue.
|
Oracle Certified Professional Java Programmer
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |