Performing Input and Output Operations Using the Java I/O APIReplacing objects with readResolve and writeReplace
In one line: readResolve swaps the object returned after reading, keeping singletons single; writeReplace swaps what is written, as in proxies.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.
Spotted a mistake in this part?