Infosys interview question

Java Collectios And OOp concepts