Search:

Type: Posts; User: allhalf425

Search: Search took 0.23 seconds.

  1. [SOLVED] Re: Problem copying an arraylist to an array

    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.
  2. [SOLVED] Re: Problem copying an arraylist to an array

    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...
  3. [SOLVED] Problem copying an arraylist to an array

    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...
Results 1 to 3 of 3