Generic are getting popularity in the current context. By definition generics are nothing, its just a way of drifting the code say function in such a way that can be used for multiple , we don’t need to reproduce same code again and again.
Generic was first Introduced by ML, the functional programming language. Nowadays most of the programming languages have this feature.