| Author |
Collection With Generics Chapter's Excercise Solution
|
Salim Tol
Greenhorn
Joined: Jul 23, 2009
Posts: 9
|
|
Hello Everybody,
I am learning Java Head First's chapter 16.
There is given a solution of exercise as "Be the compiler solution" on page 579.
The statements with a cross(i.e X) in the check box will compile or not?
if no then why?List<Animal> list=new ArrayList<Animal>() is chekced.
if yes then why?ArrayList<Dog> dogs=new ArrayList<Dog>() is uncheck.
Please Help Me Remove this Confusion!
With Regards,
Salim Tol
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Collection With Generics Chapter's Excercise Solution
|
|
|