Bank of America Interview Question

Wildcards in java