1 Reply Latest reply on May 13, 2010 11:51 PM by EJP

    writeObject and readObject - where are these methods declared?

      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?