I have an array of items that I need to save to a file. How do you do this?
Oliver Wong - 28 Nov 2005 16:16 GMT
>I have an array of items that I need to save to a file. How do you do
>this?
Iterate through the array and save each item.
- Oliver
Hal Rosser - 28 Nov 2005 22:48 GMT
> I have an array of items that I need to save to a file. How do you do this?
Iterate through the array and either write each item to a line in a file -
OR - build a delimited String from the array and write the string to a file.
Aftr you do that - your next question would be how to open and read a file.
Remon van Vliet - 09 Apr 2006 23:33 GMT
>I have an array of items that I need to save to a file. How do you do
>this?
Depends on the type of items, the short and easy answer to your question is
: buy a beginner level Java book or find tutorials online. If you're more
specific regarding the items that need saving people can probably help you
out