InterviewSolution
Saved Bookmarks
| 1. |
Is The Constructor Invoked When A Java Object Is De-serialized? |
|
Answer» If the CLASS IMPLEMENTS Serializable, the constructor is not called during DESERIALIZATION PROCESS. However, if the class implements Externalizable, the constructor is called during deserialization process. If the class implements Serializable, the constructor is not called during deserialization process. However, if the class implements Externalizable, the constructor is called during deserialization process. |
|