Hi Arjun,
I think line 4 will not compile in pre-java 5.0 compiler,
In
java 5.0 primitives are auto-boxed to their wrapper type, hence ok with that.
"A non-generic collection can hold anything i.e. not a primitive." is very implicit because collection generic or non-generic cannot hold primitives.
please confirm
thank you