Capgemini interview question

Explain generics and give an implementation for them