TCS interview question

Java : inheritance , collection