View Full Version : I have a java question.


Executor
12-02-03, 11:25 PM
If I want to create a java program for myself to balance my check book on, and I want to store data from one session to another... how do i do that? Is there anyway to write data to a text file on exit and read data from a text file on start? I have taken cs1, but this was not covered.. can anyone help?

Executor
12-02-03, 11:36 PM
bump.

testify
12-03-03, 12:40 AM
Read This (http://java.sun.com/j2se/1.3/docs/api/java/io/package-summary.html) Specifically you'll want to look at FileInputStream and FileOutputStream.