Monthly Archives: February 2019

difference between list set and map in java

List Set and Map are the interfaces which implements Collection interface. Lets discuss the differences between List, Set and Map in Java. List Vs Set Vs Map: 1) Duplicity: List allows duplicate elements. Any number of duplicate elements can be inserted into the list. It doesn’t affect the previous values and indexes. Set doesn’t allow duplicate… Read More »