Tech Me More

To quench our thirst of sharing knowledge about our day to day experience & solution to techincal problems we face in our projects.

Advertise with us !
Send us an email at diehardtechy@gmail.com

Tuesday, October 7, 2014

9 Key Interfaces of Collection framework and Collection framework Hierarchy

Collection framework in Java


When we want to represent a group of individual object as a single entity we should choose Collection. 



Difference between Collection and Collections

Collection is an interface, whereas Collections is a class in java. Collection is treated as base interface in Collection framework, whereas Collections class consists exclusively of static methods that operate on or return collections. Collections class is defined in java.util package.


9 Key Interfaces of Collection framework

  • Collection
  • List
  • Set
  • SortedSet
  • NavigableSet
  • Queue
  • Map
  • SortedMap
  • NavigableMap

s       Collection framework Hierarchy

        






No comments: