*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes PriorityQueue order? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "PriorityQueue order?" Watch "PriorityQueue order?" New topic
Author

PriorityQueue order?

Anthony Karta
Ranch Hand

Joined: Aug 09, 2004
Posts: 342


Output:
size: 3[bye , hi , hello ]
bye 2
hello 1
hi 0

Why the order of element are different between # and ##??
thanks


SCJP 5
Priya Viswam
Ranch Hand

Joined: Dec 28, 2006
Posts: 81
Please go through this link

http://www.coderanch.com/t/252557/java-programmer-SCJP/certification/Priority-Queue-Ordering


SCJP 1.5<br />SCWCD 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PriorityQueue order?