Difference Between Set and List

  • Collection Interface List allows duplicate values, Set does not allow duplicate values
  • List is ordered collection, Set is an unordered collection
  • List maintains insertion order(First-in is Lower Index), Set does not mantain any order
  • Various List Implementations(ArrayList,Vector,LinkedList)
  • Various Set Implementations(HashSet,TreeSet,LinkedHashSet)