Java Arrays allow you to store a number of values of the same type. Arrays could be primitive arrays or object arrays. Lets understand primitive arrays using a diagram. You create an Array Variable before creating an Array itself. Then you create an array. The = operator assigns the Memory Location (Memory Reference) of the Array to the Array Variable.