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
How do you program a 2005 G6 GT keyless entry remote? How many countries are in south america how do you know? Is the flamethrower effective? What is the difference between subset and equal sets? What is column text that is aligned to both the left and right margins? Where do you get ammonia? How old is Jacki Weaver? Which City has the second largest population in the UK? How long to write Grapes of Wrath? When does a vice president only vote on a bill in the senate? What are the tiniest tubes in the circulatory system called? What colour matches with hot pink? What is a 60000 annual salary in bi weekly pay? How you set the correct pressure on the steam terminal on steamworks island poptropica? What is the value of a 1979 Remington 700 BDL 6MM Mint Condition? What are types of religion starting with n? How are vectors shown graphically? What is system utilites? Definition of ancillary? How did the parmanent of Virginia came existence?

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.