State true or false. Serialization is the mechanism of saving the state of an object into a file.
Answers
Answered by
3
Answer:
The given statement is true.
Explanation:
Serialization is the process of saving the state of object by converting into byte-stream and write into file. Deserialization is the reverse process where the data in the file is converted to byte-stream and then these are written into an object. To make serialize objects in Java, we need to implement java. io. Serialize. There are certain factors associated with Serialize class.
• If a super class / parent class has implemented Serialize interface, it is automatically inherited to sub class / child but not vice-versa.
• The data of static members are not saved in serialize object.
Similar questions