Teamcubate interview question

Why would you use generics?