I am trying to stream an arrayList from another class and write it to file. The code has no errors but nothing is being written to the file either. The file name is "Accounts.txt". Here is the code:
I don't know if that code is even right, but any help would be greatly appreciated. Thanks in advance.
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
Is the file actually created and empty? Or won't it even just be created? Do you also know where the file actually would be written? (the system path).