posted 13 years ago
Hi, What is the difference between defaultReadObject() and readInt() in the following serialization. Some people say, is.readInt() correctly implements de-serialization and some say is.defaultReadObject(); allowed the object to be correctly deserialized. If the question is to choose one of these 2, which one I should choose ?
OCPJP 6.0-81% | Preparing for OCWCD
http://www.certpal.com/blogs/cert-articles | http://sites.google.com/site/mostlyjava/scwcd |