I get it now. Dumb mistake, I didn't realize I could assign a size to the array songs after I had already declared it as a field. Thanks for your help.
Type: Posts; User: allhalf425
I get it now. Dumb mistake, I didn't realize I could assign a size to the array songs after I had already declared it as a field. Thanks for your help.
There is no value of 'songs' yet. I want songs to be identical to songsAL, except for it to be an array and not an arrayList. I can't declare it because I don't know what the size of the array is...
So I have a specific requirement that a list be stored as an array, but the professor suggested it would be easier to start it off as an arraylist then use the .toArray method to copy it to a new...