01Chapter 1: What an Array IsAn array is a Java object that holds a fixed number of values in a set order. An object is an item created by a program that can hold data. Each value in an array is called an element.5 min read
02Chapter 2: Declaring, Creating, and Initializing ArraysAn array is a fixed-size sequence of values of the same type. Each value is called an element. For example, an array can hold the scores 80, 90, and 100 together instead of requiring three separate variables.5 min read
03Chapter 3: Indexes, Length, and BoundsAn array is a fixed-size sequence of values in Java. Each value in the array is an element. To read or change an element, you need to know its position.5 min read
04Chapter 4: Traversing ArraysTraversing an array means visiting its elements, usually from the first to the last. An array is a fixed-size sequence of values. Each value is called an element.5 min read
06Chapter 6: Multidimensional and Jagged ArraysA multidimensional array is an array whose elements are themselves arrays. A common example is a two-dimensional array: an array of rows. Each row holds values.5 min read
07Chapter 7: Passing and Returning ArraysA Java method can receive an array, use its elements, and return an array. This lets you put work in one place instead of writing it again each time you need it.5 min read
08Chapter 8: Copying Arrays and Understanding Shallow CopiesCopying an array is useful when you want to change values without changing the original. But not every copy is fully independent. The answer depends on what the array holds.5 min read
09Chapter 9: Comparing and Printing Array ContentsTwo arrays can hold the same values without being the same array. Knowing the difference matters when you check results, test a program, or print values to understand what a program is doing.4 min read
10Chapter 10: Sorting and Searching ArraysJava provides tools for putting array values in order and finding a value in an ordered array. These tools are useful when you need to look through the same data more than once.4 min read
11Chapter 11: Arrays and Variable-Arity MethodsA method sometimes needs to accept a list of values, but the caller does not know how many values there will be. For example, one call might add two scores, while another adds five.5 min read
12Chapter 12: Covariance, Runtime Checks, and Generic Array RestrictionsThis chapter builds on creating arrays and sharing them through references. It explains why some array assignments are allowed, why a later write can still fail, and why Java limits arrays of generic types.6 min read
13Chapter 13: Processing Arrays with StreamsA stream is a way to process a sequence of values through a series of steps. For an array, those steps might select some elements, change the selected values, and collect the results.5 min read