java create an array to hold 2 values code example Example: how to make a fixed size array in java dataType[] arrayRefVar = new dataType[arraySize];