Java Comparable & Comparator -1 (Comparable) - Videos

0
124

This tutorial explains what is a Comparable in java an how to implement it.
It starts with mentioning what is sorting and how we do sorting each day and what are direct and indirect sorting. Then sorting is explained in Java’s perspective.

Very important functionality of Collections utility class called sort() is taken to define the sorting of lists here.

Using it the Comparable interface is explained.

source

LEAVE A REPLY

Please enter your comment!
Please enter your name here