Arrays are not like lists. they To declare an array, you can give it a length, or have it allocated by itself.
Known size
datatype[] listname = new datatype[#ofindexes]
Unknown size
datatype[] listname = {value1, value2, value3}
Reading array
listname[index]
Starts from 0-index.