Learn how to play with collections in Java programming. Here are most commonly used examples −
How to convert an array into a collection?
How to compare elements in a collection?
How to convert a collection into an array?
How to print a collection?
How to make a collection read-only?
How to remove a specific element from a collection?
How to reverse a collection?
How to shuffle the elements of a collection?
How to get the size of a collection?
How to iterate through elements of HashMap?
How to use different types of Collections?
How to use enumeration to display contents of HashTable?
How to get Set view of Keys from Java Hashtable?
How to find min & max of a List?
How to find a sublist in a List?
How to replace an element in a list?
How to rotate elements of the List?