Infosys interview question

Core Java , collection , thread