Comments on: Externalizable in java https://java2blog.com/externalizable-in-java/?utm_source=rss&utm_medium=rss&utm_campaign=externalizable-in-java A blog on Java, Python and C++ programming languages Mon, 06 Sep 2021 18:54:20 +0000 hourly 1 https://wordpress.org/?v=6.2.9 By: arun singh https://java2blog.com/externalizable-in-java/#comment-11274 Fri, 18 May 2018 20:24:40 +0000 http://www.java2blog.com/?p=375#comment-11274 thanks

]]>
By: robin singh https://java2blog.com/externalizable-in-java/#comment-3 Mon, 30 Jun 2014 12:23:40 +0000 http://www.java2blog.com/?p=375#comment-3 Your post about Externalizable interface is awesome and very easy to understand.

JAVA J2EE Training in Chennai

]]>
By: arpit mandliya https://java2blog.com/externalizable-in-java/#comment-4 Tue, 17 Jun 2014 17:44:50 +0000 http://www.java2blog.com/?p=375#comment-4 Hi Avinash,
Thanks
In case 1- No it won't give you exception,it will give you default values of fields of Parent class.
In Case 2- JVM won't call parent's overridden methods by default. You need to explicitly call it

]]>
By: Avinash Kulkarni https://java2blog.com/externalizable-in-java/#comment-5 Tue, 17 Jun 2014 02:57:34 +0000 http://www.java2blog.com/?p=375#comment-5 Hi Arpit,

Its good initiative I appreciate that. I have some questions in my mind.

In case 1 of inheritance what if I don't choose to serialize the fields of parent class and stilĺ I try to deserilize thode fields in main method, will I get any exception?

In case 2, what if I dont call super.xxx () in readExternal and writeExternal method. Will the jvm calls parents overridden methods by default?

]]>