Monday, April 30, 2007

What is serializable interface?

In package there is an interface called, which is a syntactic way of serializing objects. This interface does not define any method. The purpose of serialization is persistence, communication over sockets or RMI. In Object serialization an object can be converted into byte stream and vice versa.


Anonymous said...

This is basically marker interface (This type of interfaces tells compiler implementing class needs to be serialized)


Interview Questions On Java,Java EE Copyright © 2017. Reads: best tracker