8.2. Arrays

These array examples are written for Java but should work in Processing as well provided that you replace public static void main() with void setup() .

Focus your attention on the basic arrays material in Sections 8.2.1-8.2.2, declaring, initializing and using arrays. After you’ve read through these sub-sections, try the following exercises:

8.3. Array Topics: Search
When you’ve read this section, try to modify the linear search program to receive an array of Strings and search for a string target value.
8.4. Files
Skip this section on Processing file Input/Output (I/O); we’ll address Java file I/O later in the course.
8.5. Multi-dimensional Arrays
We won’t use the material in this section immediately, but read through it to get an idea of how multi-dimensional arrays can be used.