Java supports arrays, one of the oldest and most widely used data structures (“a data organization, management, and storage format that is usually chosen for efficient access to data” – see http://en.wikipedia.org/wiki/Data_structure for more information). This chapter introduces you to this support in terms of one-dimensional arrays and two-dimensional arrays. It demonstrates one-dimensional arrays in terms of searching and sorting and two-dimensional arrays in terms of matrix multiplication.
Introducing Arrays
An array is a data structure ...