java - Storing an array so that I can access it the next time I run the program -
i have array
string[][] somearrayofdata={{"there","is"},{"alot","of data here"}};
i want able save array can load , access next time run program. dont mind having use string[]
well. have tried write notepad file major irritation, possible store variables externally avoid hassle of writing multiple notepad files or using delineators?
there multiple possibilities. in cases called persistence.
- store file store file
- store database java db tutorial
- send somewhere simple rest web service , client
in principle 3 not persistence, way data out of volatile memory.
Comments
Post a Comment