Tag Archives: What is use of Collections class

What is a Collection class in Java?

What is a Collection class in Java?

What is a Collection class in Java? Collections class defines several utility methods for collection objects like sorting, searching, reversing, etc.  Sorting elements of List  Collections class defines the following two methods for sorting. 1 Public static void sort(List l) To sort based on default natural sorting order In this case list should compulsory contain homogenous and comparable objects otherwise ...

Read More »

Responsive WordPress Theme Freetheme wordpress magazine responsive freetheme wordpress news responsive freeWORDPRESS PLUGIN PREMIUM FREEDownload theme free