Nokia interview question

Solve use case using generic in Java