Serialization


  • What is Serialization?
  • What is Deserialization?
  • How can we serialize a class?
  • What if a class contains an object which is not serializable?
  • What will happen If superclass of a class is not serializable?
  • How can we change the default serialization?
  • What is serialVersionID? For what it is used?
  • What is externalization?
  • what is transient?
  • Does static field gets serialized? Ho we can serialize them?
  • How can we assure a class will remain singleton after deserialization?
  • What will happen If we are trying to de-serialize a class but we have made some changes in class like adding or removing a field after serialization?

No comments:

Post a Comment