Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Oracle Developer Community
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'.