How do I Write/Read an Arraylist of Objects to/from a file? -


im doing extra-credit assignment computer science teacher, have improve upon program.

and 1 of things wanted do, able write arraylist file, , read arraylist file later on in different instance of program.

so, arraylist called "acctarray," , filled objects called "account" take string name, long account number, , double balance.

ive tried following other posts involving serialization, confusing , couldnt work.

can guys me out? (the methods ill using write , read "savestuff" , "loadstuff" respectively, if help. ;-; )

thanks in advance help. :)


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -