---
title: "Discussion on \"Comparable and Comparator in Java\" | Hashnode"
description: "Discussion on \"Comparable and Comparator in Java\". Sort custom java object"
url: "https://hashnode.com/posts/comparable-and-comparator-in-java/66801295de1852b1dcd6cd6f"
---

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

Discussion

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

Sort custom java object

Jun 29, 2024 · 4 min read · velagala.hashnode.dev  
Updated Jun 30, 2024  
Read the article

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

## Written by

[V A S G Reddy](https://hashnode.com/@VASGReddy)

@VASGReddy

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

Software Developer

## Responses

Comments are turned off for this post.
