---
title: "Discussion on \"Comparable vs Comparator in Java\" | Hashnode"
description: "Discussion on \"Comparable vs Comparator in Java\". 👉 Comparable and Comparator\nUnderstanding the difference between these two is essential for Java interviews and real-world development.\n\n✅ What is Comparable?\nComparable is an interface from the java"
url: "https://hashnode.com/posts/comparable-vs-comparator-in-java/69985f713dc17c4862f123b7"
---

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

Discussion

# [Comparable vs Comparator in Java](https://aswinarya.hashnode.dev/comparable-vs-comparator-in-java?utm_source=hashnode&utm_medium=feed)

👉 Comparable and Comparator Understanding the difference between these two is essential for Java interviews and real-world development. ✅ What is Comparable? Comparable is an interface from the java

Feb 20 · 3 min read · aswinarya.hashnode.dev  
Read the article

## Written by

[Aswin Arya](https://hashnode.com/@AswinArya)

@AswinArya

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
