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

advertisement

AddThis Social Bookmark Button
Article:
  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. Another thing
    2002-08-18 09:45:46  st0rm [View]

1 to 1 of 1