Infosys interview question

Few questions from collections and struts framework