What type of data do you want to save in the array? An array can only hold ONE type of data. If you need to save different data types, you need to define a class that can hold all the different types. Then the array can be defined to hold that class's objects.