sivaprasadnkv's Avatar
Go4Expert Member
what is generic
where we have to use that generics
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Using Generics, we can create class templates that support any type. When we instantiate that class, we specify the type we want to use, and from that point on, our object is "locked in" to the type we chose. Something like Templates in C++