Java Generics (2008)

Notes on SCJP I did in 2008 Generics   Straight forward Type Safe Collections   List<Animal> myList = new ArrayList<Animal>();   the generic type in the declaration must match on both side of = , in this case <String> (unless a wildcard is used to the left of the equals OR the ref has no gen … Read more