Untitled Document

Subscribe here to get updates on new Videos

 

34. TreeSetDetaols part 4?

 

 

 

previoushomenext

.

 


* When ever we are implementing Comparator interface, compulsory we should provide implementation for compare() method.
* And Implementing equals() method is optional, because it is already available in every java class from objet class through inheritance.