title: When to use linkedhashmap over hashmap in java?
body: <p>What are the practical scenario for choosing among the linkedhashmap and hashmap? I have gone through working of each and come to the conclusion that linkedhashmap maintains the order of insertion i.e elements will be retrieved in the same order as that of insertion order while hashmap won't maintain order.
  So can someone tell in what practical scenarios selection of one of the collection framework and why?</p>