What happens if we don't serialize object in Java?
<p>As we all know Serialization in java is a mechanism of writing the state of an object into a byte stream.</p>

<p>It is mainly used to send object's state across the network. But what happens when object is not serialized and is sent across the network .</p>

<p>Will it give errors?</p>

<p>Thank you </p>