ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  10 Reasons We Need Java 3.0
Subject:   Another thing
Date:   2002-08-06 10:25:54
From:   devextreme
Response to: Another thing

With generics, an ArrayList could be checked at compile time to use only objects of type Foo. There would be no cast necessary (and of course no ClassCastExceptions) as with Objects.

1 to 1 of 1
1 to 1 of 1