Swipe to navigate through the chapters of this book
In every program that we have talked about so far, when the program ends, the computer forgets everything that happened in the program. Every variable you created, every string you used, every Boolean, every list—it’s all gone. But what if you want to keep some of the data that you generate in a program, and save it for when you run the program later? Or, maybe you want to save some data so that a different program could use the data that you generated.
Please log in to get access to this content
To get access to this content you need the following product:
- File Input/Output
- Sequence number
- Chapter number
- Chapter 9