E. Arrays and ArrayLists

Objectives

In this appendix you’ll learn:

Image What arrays are.

Image To use arrays to store data in and retrieve data from lists and tables of values.

Image To declare arrays, initialize arrays and refer to individual elements of arrays.

Image To iterate through arrays with the enhanced for statement.

To pass arrays to methods.

To declare and ...

Get Android™ How to Program, Second Edition 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.