Search Interview Questions
| 3191 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core java - Interview Questions and Answers for 'Guavus' - 1 question(s) found - Order By Newest|
|Frequently asked in CTS ( Based on 2 feedback )|
|Ans. Comparable interface is used for single sequence sorting i.e.sorting the objects based on single data member where as comparator interface is used to sort the object based on multiple data members.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve java java.util comparable comparator collections Verilogue Accenture Accenture India Varian Medical Systems L&T Infotech Oracle eIntern Happiest Minds Technologies HCL Technologies Cognizant (CTS) Cerner Coviam EdgeVerve Systems Virtusa Polaris Trimax IT Infrastructure & Services Xpanxion Appy Pie WealthFront Varian Medical Systems Bristlecone Verilogue Guavus eClinicalWorks basic   frequent|
|What is comparator interface used for ?|
|Sort a List of Objects using comparable and comparator|