Get Started
1050

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

  • Show Answer
  • Workspace

Answer :
Explanation :

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.

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today