Monday, April 10, 2017

Why sort() and binarySearch() methods are exists on Collections rather than Collection?

We call sort() and binarySearch() on Collections rather than CollectionBecause, Collection could not have concrete methods because it is an interface. 

😄😄😄

No comments: