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 ...
Get Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.