Suppose you are writing a class that will provide custom deserialization.
The class implements java.io.Serializable (not java.io.Externalizable).
What access mode should the readObject()
method have?
D.
Default deserialization is bypassed only if the readObject()
method has private access.