How to add multiple values to array within class?

Are these two alterantive options @GoToLoop? Why can’t I specify the length of the array with new int[4]?