Infosys interview question

How generics works with Map and list?