Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Java Serialization Tutorial
→
Java Serialization Interview Questions in Java Serialization Tutorial
→
Give Few Examples Of Incompatible Changes In Java...
1.
Give Few Examples Of Incompatible Changes In Java Serialization?
Answer»
CHANGING
implementation from Serializable to Externalizable
INTERFACE
,
Deleting an existing Serializable field,
Changing non-transient field to transient, non-static to static,
Changing the field type,
Updating the
CLASS
PACKAGE
.
Modifying the writeObject() / readObject() method, we
MUST
not modify these methods, though adding or removing is a compatible change.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What Changes Are Compatible And Incompatible To The Mechanism Of Java Serialization?
How Can A Sub-class Of Serializable Super Class Avoid Serialization? If Serializable Interface Is Implemented By The Super Class Of A Class, How Can The Serialization Of The Class Be Avoided?
Is It Possible To Customize The Serialization Process? How Can We Customize The Serialization Process?
How To Serialize A Collection In Java? How To Serialize A Arraylist, Hashmap Or Hashset Object In Java?
Why Does Serialization Not Save The Value Of Static Class Attributes? Why Static Variables Are Not Serialized?
What Are Transient Variables? What Role Do They Play In Serialization Process?
What Are The Alternatives To Serialization? If Serialization Is Not Used, Is It Possible To Persist Or Transfer An Object Using Any Other Approach?
Does Setting The Serialversionuid Class Field Improve Java Serialization Performance?
What Would Happen If The Serialversionuid Of An Object Is Not Defined?
What Is A Serial Version Uid (serialversionuid) And Why Should I Use It? How To Generate One?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies