Self-Review Exercises
-
E.1 Fill in the blank(s) in each of the following statements:
Lists and tables of values can be stored in .
An array is a group of (called elements or components) containing values that all have the same _.
The allows you to iterate through the elements in an array without using a counter.
The number used to refer to a particular array element is called the element’s .
An array that uses two indices is referred to as a(n) array.
Use the enhanced
for
statement to walk throughdouble
arraynumbers
.Command-line arguments are stored in .
-
E.2 Determine whether each of the following is true or false. If false, explain why.
An array can ...
Get Android How to Program, 3/e 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.