In this tutorial, we will be talking about arrays in Java.

The way you make arrays in Java is sort of like this:

int[] arr = new int[]

It can be confusing whether you put the brackets after int or arr . Personally, I just remember that the right part is new int[] . int[] is the correct way to put brackets.

The question is, when java creates an array, do we keep the content of each individual array the way it was previously, or do we initiate it to a certain value? If we initiate to a certain value, the