title: Difference between Collection and Container
body: <p>I am little confused about the difference between containers and collections. I read about them on Wikipedia and this is what I have understood.. </p>
  
  <p>Collections : Stores variable number of objects. Ex. list, set... </p>
  
  <p>Containers : DataStructures? Ex. dequeue, stack.. </p>
  
  <p>But I thought collections like list, tree etc are data structures, then what are containers. Also what does this mean.. </p>
  
  <blockquote>
    <p>Data structures that implement containers include arrays, lists, maps,
    queues, sets, stacks, tables, trees, and vectors.</p>
  </blockquote>