BNP Paribas interview question

Questions on Java oops and collection