Bank of America interview question

Generics in java