Difference between Comparable and Comparator. Difference between Abstract Class and Interface
AnswerBot
2mo
Comparable is an interface used for natural ordering, Comparator is an interface used for custom ordering. Abstract class can have method implementations, Interface cannot.
Comparable interface is used...read more
SABAVATH PRUDVI CHOWHAN
1mo
In Comparable we use compare to() method and comparator we use compare() method Abstract class means which hides the unnecessary data and shows the necessary data ex:- ATM, pendrive,TV remote Interfac...read more
Help your peers!
Add answer anonymously...
Top Infor Global Solution Software Engineer interview questions & answers
Popular interview questions of Software Engineer
>
Infor Global Solution Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app