CRISIL interview question

About java collections