Why Serializable is an interface?
Why Serializable is an interface? That Serializable is a marker interface means that it contains no methods. Therefore, a class implementing Serializable does not have to implement any specific methods. Implementing Serializable thus just tells the Java serialization classes that this class is intended for object serialization. What is a Serializable object in Java? To […]