PriorityQueue - Java Quiz Question


What will be the output of the following program?


A
paper,pen
B
pencil,paper
C
paper,paper
D
pencil,pencil
E
Compilation Error or Runtime Error