Friday, July 2, 2021

Requirement to use TreeSet for custom object


The video explains about

1. How to use TreeSet?

2. What is the requirement for a custom object to be added to Treeset?

3. What is Comparable and Comparator?

4. When and how to use Comparable?

5. When and how to use Comparator?

6. How to iterate the elements added to the TreeSet object?

No comments:

Post a Comment