Wikipedia says for Generics - "One version of the class or function is compiled, works for all type parameters. "
<p>How does Java do this? If there are not multiple Classes being created, then how does it support multiple Typed instantiations of the Generic class?
Until now I used to believe that it is like C++, but now i am totally confused.
Can't figure out how Java pulls this off?</p>

<p>-Ajay</p>
