filmov
tv
Core Java- Bangla Tutorial(PriorityQueue)- Class 53

Показать описание
PriorityQueue:
A Queue is a collection for holding elements prior to processing. Since no Comparator implementation is given to PriorityQueue, it orders the alphabets in the alphabetical order from lowest ascii valued alphabet to the highest, even though they’re not added to the queue in that order.
A Queue is a collection for holding elements prior to processing. Since no Comparator implementation is given to PriorityQueue, it orders the alphabets in the alphabetical order from lowest ascii valued alphabet to the highest, even though they’re not added to the queue in that order.