Generics & Generic Classes

Generics or Generic class is used to create classes or objects which do not have any specific data type. The data type can be assigned during runtime, i.e when it is used in the program.

Leave a Reply

Your email address will not be published. Required fields are marked *