serializable is a special interface that indicates that the class is serialiazable. It differs in that, unlike the usual interface, it does not define any methods that should be implemented: it simply marks the class as serializable. For more information, see Java docs .
As for what “serializable” means, it simply means converting an instance of a class (object) into a format where it can be written to disk or possibly transferred over a network. You can, for example, save your object to disk and reload it later, with all field values and internal state saved. For more information, see the Wikipedia page .
Richard H
source share