Lecture 24
19
Persistence
•Bank and Juno should remember state between invocations
–read state from a file at startup
–write state back at exit
•Can imagine a text representation of the state
•Better: Java knows how to save whole Objects