ABSTRACT

Object-oriented concepts Use classes Vector and ArrayList, members of Java Collection Framework

Java concepts One-dimensional arrays, two-dimensional arrays, multidimensional arrays, ragged arrays, enhanced for loop, wrapper classes, auto-boxing, and auto-unboxing

Programming skills Create classes with arrays of various data types, develop simple array processing algorithms

You have seen primitive data types and classes. Primitive data types allow us to store only one value at a time. An object, however, is capable of encapsulating more than one data values. As you have seen in Chapter 5, the ability to perform the same task again and again, or repetition, is an important control structure. Th is chapter introduces its data structure counterparts: arrays, ArrayList class, and Vector class.