Bank of America Interview Question

Generics in java