'Does implementing Serializable interface gives any features to the class implementing it? [duplicate]
What is the use of implementing Serializable interface? It is said that Serializable is a marker interface. A marker interface provides run-time information to JVM. What wonders me what is happening in the runtime? How OutputObjectStream is able to serialize an object which implements Serializable?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|