What does the Serializable interface do?

Tim Rohaly

Serializable is a tagging interface; it prescribes no methods. It serves to assign the Serializable data type to the tagged class and to identify the class as one which the developer has designed for persistence. ObjectOutputStream serializes only those objects which implement this interface. Please refer to http://www.jguru.com/faq/view.jsp?EID=31434 and the other Serialization FAQs for more information.