DEVFYI - Developer Resource - FYI

What one should take care of while serializing the object?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

506. What one should take care of while serializing the object?

One should make sure that all the included objects are also serializable. If any of the objects is not serializable then it throws a NotSerializableException.

(Continued on next question...)

Other Interview Questions