Signatures for readObject:
private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException;
which accepts a reference to a particular type of class.
Signatures for readExternal:
void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
which accepts a reference to the type of interface.
So why is this a mismatch? Is it just supervision?
source
share