Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on May 13, 2010 11:51 PM by EJP
writeObject and readObject - where are these methods declared?
May 13, 2010 8:32 PM
I was reading the Suns tutorial on advances serialization ([link here|http://java.sun.com/developer/technicalArticles/ALT/serialization/]).
It says: "The other thing that is frequently explained about serialization is overriding the readObject and writeObject methods to change the default serialization behavior."
These methods are private, so how is it possible to override private methods?
And where are these methods declared?
This content has been marked as final.
Show 1 reply
Re: writeObject and readObject - where are these methods declared?
May 13, 2010 11:51 PM
in response to
The wording is incorrect. It should say 'declaring' or 'providing your own', not 'overriding'.