Creating blogs based on self learning from real time experience, online content, books and other blogs/forums.
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 Collection. Because, Collection could not have concrete methods because it is an interface. 😄😄😄
No comments:
Post a Comment