O'Reilly logo

Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035) by Marcus Green, Bill Brogden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The New Collections

One of the biggest changes in the Java standard library with the SDK 1.2 release was the introduction of a totally new set of classes and interfaces for dealing with collections of objects. This new Collections API has many benefits for the programmer, primarily as a standard for communication between unrelated toolkits. For example, a database query that results in a Collection can cooperate seamlessly with an interface toolkit that expects a Collection.

The new Collections can seem daunting at first because there seems to be a large number of interfaces that are implemented in a wide range of classes, many of which appear to perform similar functions. For the purposes of the exam, however, you mainly need to understand the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required