coderz.py

  • 23 DSA Patterns
  • DSA Basics
  • DSA Sheet
  • C
  • C++
  • Java
  • Python
  • DBMS
  • Privacy Policy

Tag: Comparable Interface

  • java thread class

    Java

    Comparable Interface in Java

    The Comparable interface is used to compare an object of the same class with an instance of that class; it also enables data ordering for user-defined class objects. The class has to implement the java.lang.Comparable interface to compare its instance, it provides the compareTo() method, which accepts an object of that class as an argument. Its sorting algorithm is…

    August 5, 2022

  • java thread class

    Java

    Comparator Interface in Java Collection Framework

    To sort the objects of user-defined classes, a comparator interface is utilized. A comparator object can compare two items of…

    August 6, 2022

coderz.py

Practical coding tutorials and guides for Python, web development, algorithms, and more. Built for developers who love to learn.

Explore

  • 23 DSA Patterns
  • DSA Basics
  • DSA Sheet
  • C
  • C++
  • Java
  • Python
  • DBMS
  • Privacy Policy

Categories

  • 23 DSA Patterns
  • AI
  • C
  • C++
  • Dataweave
  • DBMS
  • DSA Basics
  • DSA Sheet
  • Java
  • Machine Learning
  • Mulesoft
  • OODP
  • Python
  • RAML

Connect

hello@coderzpy.com

© 2026 CoderZPy — Built for developers, by developers.

Made with ❤ & code