7. Arrays and ArrayList
s
In this chapter you’ll:
Use arrays to store data in and retrieve data from lists and tables of values.
Declare arrays, initialize arrays and refer to individual elements of arrays.
Iterate through arrays with the enhanced for
statement.
Pass arrays to methods.
Declare and manipulate multidimensional arrays.
Get Java 9 for Programmers 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.