As far as my understanding goes after reading some
java books I think If we are not using a comparator for our priority queue then the insertion will FIFO. But after executing the below program I am getting a different one.
Please let me know what is happening in the above piece of code.
Thanks in advance
[edit]Alter spacing to avoid smilies, and add code tags. CR[/edit]
[ September 30, 2008: Message edited by: Campbell Ritchie ]