The program has a serializable object with a static variable with a value of 9. It writes and object, closes it, and then adds 1 to it so the value is 10. However, when reading the input stream into a new variable, the value is still 10. My assumption was that it was written as 9 and the add occured after the write so the read on the other end would not have the value of 10 (9 was the value stored). However, the result says the answer should be 10.