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
What does es grande la ciudad rancho cucamonga mean? Where does Jack keep his gold dust in the great horn spoon? What is one of the indications that the earth's climate has varied over time? Exposure to x-rays ultraviolet rays and radioactive substances may promote what? What is the name for the Mexican dress? How much gold and sliver came from the comstock lode? The 1876 Presidential election was? What are the limitations of PERT? 7 girls 7bags 7 cats 7 kittens on the bus? What achievements did Grover Clevlend have? A sentence with the word afterlife? What is 24 over 84 in simplest form? Is the deeper the water the colder it is? What is someone called wh gains unauthorised access to a computer? When did electricity come to Nevada? How many steel frame buildings have collapsed due to fire? What does Katniss do to protect her sister in hunger games? What True or false magnetic force is a gravitational force? Did cam newton get kicked out of Florida? How many ounces are in 5 grams?

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 ©2025 Answers.com. 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.