---
title: "Discussion on \"19 Java - Priority Queue, Compartor vs Comparble\" | Hashnode"
description: "Discussion on \"19 Java - Priority Queue, Compartor vs Comparble\". Priority Queue\n\n\nQueue is an interface, child of Collection interface.\n\nGenerally Queue follows FIFO approach, but there are exceptions like PriorityQueue\n\nSupports all the methods available in Collection + some other methods mentioned below\n\n\nMethod..."
url: "https://hashnode.com/posts/19-java-priority-queue-compartor-vs-comparble/6665417a6391eb3acf886282"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [19 Java - Priority Queue, Compartor vs Comparble](https://chetan77.hashnode.dev/19-java-priority-queue-compartor-vs-comparble?utm_source=hashnode&utm_medium=feed)

Priority Queue Queue is an interface, child of Collection interface. Generally Queue follows FIFO approach, but there are exceptions like PriorityQueue Supports all the methods available in Collection + some other methods mentioned below Method...

Jun 9, 2024 · 7 min read · chetan77.hashnode.dev  
Read the article

-   [#priority-queue](https://hashnode.com/tag/priority-queue)
-   [#java-comparator](https://hashnode.com/tag/java-comparator)
-   [#comparable](https://hashnode.com/tag/comparable)
-   [#comparable-vs-comparator](https://hashnode.com/tag/comparable-vs-comparator)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Chetan Datta](https://hashnode.com/@chetan77)

@chetan77 · Hyderabad, India

  
[View profile](https://hashnode.com/@chetan77)

Software Engineer

I share my learnings here. Thanks for reading.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
