posted 14 years ago
Ok, the next assignment we received was to take our prior program and convert it from an Array to an ArrayList. For the most part this worked well, but when I tried adding file code (read/write the ArrayList) I ran into problems. The write worked well, by well I mean that it didn't throw an error and it seemed to write the file. But, when I add the code to read the ArrayList the compiler doesn't seem to like reading in an ArrayList as an object. How is this done?
Note: the original assignment was just to write each element out to the file, I am trying to go beyond that and write the ArrayList out as a single object.
Error received:
Here is the code (problem is in the loadApplications method):
>