0
Q:

what is defaultWriteObject



import java.io.*;

static class Example implements Serializable {
	String s = "Hello World!";

	private void writeObject(ObjectOutputStream out) throws IOException, ClassNotFoundException {
		out.defaultWriteObject();
	}
}
0

New to Communities?

Join the community