answersLogoWhite

0

What is diff between comparator and comparable inerface in java?

User Avatar

Anonymous

∙ 14y ago
Updated: 9/4/2023

Comparable is used to sort object based on natural ordering e..g Alphabetical for Strings while Comparator is used to sort object based on any order. Both of these interface is used to compare object and passed to Collections.sort() method for sorting a collection.

User Avatar

Wiki User

∙ 14y ago
Copy

What else can I help you with?

Related Questions

Diff between 8086 and 8051?

35


What is the diff between hubs and switches?

Please see:What_is_the_difference_between_a_hub_and_a_switch


Difference between net banking and telebanking?

they are not diff they are same


What is the difference between ncc and scout?

diff between official wife and unofficial wife


What is difference between partial differentation and normal diffrentation?

Ordinary Diff -> One variable Partial Diff -> More than one variable


What is the diff between magic and superstitions?

Magick is a craft. Superstitions are beliefs.


Diff between clocked SR flipflop and SR flipflop?

bokum


What is difference between gaj or yard?

no diff 1 gaj = yard


What time diff between ist?

5 hour 30 min


What is the difference between pricing inventory and valuation inventory?

in fact there is no diff.


Difference between conventional programming and object oriented programming?

diff between oops and conventional programming


Is there a diff between male and female?

The male has a dick the female has a gotcha (or vagina)

Trending Questions
Do you need to change head lights from right hand drive Renault megane for french control technique? What is coreography? Why are exchange rates needed? Can mobile phones be charge using a car cigar lighter socket? Are Nancy drew and frank hardy in love? When did the 18th century enlightenment start and when did it end? How did vampires start? How much does a turn signal relay cost for an Audi tt? What is rice milk and how is it made? What is 11ww-22 when multiplying monomials and binomials? What are facts about Jordan the country? Why was the blueberry tax intrduced? What movie and television projects has Leslie Windram been in? What kind of language does English belong to-word order or inflectional one? Why does a country's economy have to grow as its population grows? What is thinning of the hair called? Why do the kids get in trouble for their snowman how do they disguise it? What does sr22 insurance cover? What are the advantages of traditional concept of office? What is the basis of Economic Systems?

Resources

Leaderboard All Tags Unanswered

Top Categories

Algebra Chemistry Biology World History English Language Arts Psychology Computer Science Economics

Product

Community Guidelines Honor Code Flashcard Maker Study Guides Math Solver FAQ

Company

About Us Contact Us Terms of Service Privacy Policy Disclaimer Cookie Policy IP Issues
Answers Logo
Copyright ©2026 Infospace Holdings LLC, A System1 Company. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Answers.