Which of the following statements are true?

a. A PriorityQueue orders its elements according to their natural ordering using the Comparable interface if no Comparator is specified.
b. A PriorityQueue orders its elements according to the Comparator if a Comparator is specified in the constructor.
c. The priority of a PriorityQueue cannot be changed once a PriorityQueue is created.
d. The priority of a PriorityQueue cannot be reversed once a PriorityQueue is created.


ab

Computer Science & Information Technology

You might also like to view...

Which of the following browsers is the most recently developed and is known for its speed and security?

A. Microsoft Internet Explorer B. Google Chrome C. Mozilla Firefox D. Netscape Navigator

Computer Science & Information Technology

Given this information, what physical and logical topologies would you recommend for New Century? Explain your answer.

What will be an ideal response?

Computer Science & Information Technology

One of the basic tools to help project future results based on past performance is ________

A) a scenario B) a decision variable C) a moving average D) an interval

Computer Science & Information Technology

What does DSLR stand for?

What will be an ideal response?

Computer Science & Information Technology