If we want to write the readObject and writeObject as per our requirment we must implement our class by interface Externalizable .
for example if you want to sysout in readObject or in writeObject or any other changes then this is done by Externalizable interface which has two methods ,
1)readExternal(ObjectInput input).
2)writeExternal(ObjectOutput out).
Mangesh S.S.Wagahye,
Nagpur.
Tuesday, November 6, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment