Generics & Collections!
- by RayAllen
I had a doubt.
Why,generics (in java or any other lang), works with the objects and not with primitive types ?
For e.g
Gen< Integer inum=new Gen< Integer(100); works fine , but
Gen< int inums=new Gen< int(100); is not allowed.
Thanks !