Quiz on Java PriorityQueue Class