how to store an array of numbers in a class java code example Example: how to make a fixed size array in java dataType[] arrayRefVar = new dataType[arraySize];