Infosys interview question

Collections in JAVA like List, Hashmap