Problem Statement
What is serialization in object-oriented programming?
Explanation
Serialization converts an object’s state into a byte stream (or other format) so it can be written to disk or sent over a network. Later deserialization reconstructs the object. It is critical for persistence, caching and remote communication.