Home » Interview » Technology

What is the common usage of serialization? What exceptions occur during serialization?

Correct Answer: The object need to be serialized when it’s sent over a network and when it’s state is saved Exceptions which occur during serialization are: a transient fields b when the base class is serialized then only base class fields are handled c static fields are ignored because they are not part of any state

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion