This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
In K&B 6 book page no. - 597 under topic - The Legacy Way to Do Collections, it is written that A non-generic collection is quite happy to hold anything that is NOT a primitive. Whereas the following code works fine.
Please tell me is this an error in the book or I am misunderstanding something?