This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You are right that you ought to use Lists with parameters, but it is not absolutely compulsory. That is why you receive a warning, not a compiler error, for missing out the parameters.
Another nice reference about generics is here, in the Java Tutorials, and you can find another useful resource by googling for "Angelika Langer Java generics FAQ."
Joined: Nov 25, 2007
Thank you Mehar and Campbell for explaination and sending the refernces.