01Chapter 1: What an Array IsA Java array is a fixed-size group of values of the same type. Each value has its own place in the group. A value in an array is called an element.2 min read
02Chapter 2: Declaring, Creating, and Initializing ArraysAn array is a fixed-size sequence of values of the same type. Each value in the sequence is called an element. Arrays are useful when related values, such as test scores, belong together.2 min read
03Chapter 3: Indexes, Length, and BoundsAn array is a fixed-size group of values. Each value is called an element. An index is a number that tells Java which element you want.2 min read
04Chapter 4: Traversing ArraysTraversing an array means visiting its elements one at a time. An array is a fixed-size group of values. Each value is an element, and each element has an index, or position number. Indexes start at zero.2 min read
05Chapter 5: References, Default Values, and Element TypesAn array in Java is an object: a piece of data created in memory. An array variable holds a reference, which is a way to refer to that object. It does not hold the whole array itself.2 min read
06Chapter 6: Multidimensional and Jagged ArraysA multidimensional array is an array whose elements are themselves arrays. In Java, a two-dimensional array is often used to represent rows of values, like a small table.2 min read
07Chapter 7: Passing and Returning ArraysA method is a named set of instructions. You can give an array to a method so it can read or change the array. A method can also return an array for the caller, the code that called the method, to use.2 min read
08Chapter 8: Copying Arrays and Understanding Shallow CopiesAn array is a fixed-size sequence of values. Each value is called an element. Copying an array gives you a new array, so you can change its elements without changing the original array’s elements.2 min read
09Chapter 9: Comparing and Printing Array ContentsTwo arrays can hold the same values without being the same array. Java provides tools to check either question and to print the values in a readable form.2 min read
10Chapter 10: Sorting and Searching ArraysSorting puts values in order. Searching finds a value you need. Java provides both actions through Arrays, a class with methods for working with arrays. A method is a named action that a program can run.2 min read
13Chapter 13: Processing Arrays with StreamsA stream is a way to process a sequence of values. A Java array can provide those values to a stream. You can then select values, change them, or combine them into one result.2 min read