Yep, that's true. But still you get the warning buddy.
Originally Posted by rjuyal
why it will do so
here is why it will do so,
Type Erasure (The Java™ Tutorials > Learning the Java Language > Generics)
but even now, i don't know what is the logic :(
Try to compile it on terminal/cmd.
Originally Posted by jeer
Try to post the warnings here.