Java how to store information in computer memory?
January 9th, 2007 | by computermemory |thimitriie asked:
I know how to program in java, but how do you store info in the computers memory so after you close the program and reopen it, it will still be there. If you want to, could you show me an example of a program that does this.
BARTON
I know how to program in java, but how do you store info in the computers memory so after you close the program and reopen it, it will still be there. If you want to, could you show me an example of a program that does this.
BARTON














4 Responses to “Java how to store information in computer memory?”
By Peter K on Jan 11, 2007 | Reply
If you know how to program in Java then you know how to browse the class documentation. In that documentation you will find useful things like the FileWriter
By Rati Goldberg on Jan 15, 2007 | Reply
may be stacks will be of good use…..thats how the computer stores info…
By ali_fatolahi on Jan 17, 2007 | Reply
You should either write into files or databases depending on the situation and level you’re in. The database option is really way bigger than Yahoo Answers and even the files option is not as easy as it looks like. This link is not bad:
but the following link describes one of the simplest ways of storing information:
By Doug G on Jan 20, 2007 | Reply
You should make a distinction between memory (RAM) and storage.
In case you are talking about object serialization: