Analyze the following code:
import java.util.*;
public class Test {
public static void main(String[] args) {
PriorityQueue<Integer> queue =
new PriorityQueue<Integer>(
Arrays.asList(60, 10, 50, 30, 40, 20)));
for (int i : queue)
System.out.print(i + " ");
}
}
A. The program displays 60 10 50 30 40 20
B. The program displays 10 20 30 40 50 60
C. The program displays 60 50 40 30 20 10
D. There is no guarantee that the program displays 10 20 30 40 50 60