What is a marker interface?
Marker interfaces are those which do not declare any required methods, but signify their compatibility with certain operations. The java.io.Serializable interface is a typical marker interface. It does not contain any methods, but classes must implement this interface in order to be serialized and de-serialized. Actions: Follow-up, clarify or correct this answer. Submit a new question.
Marker interfaces do not declare any required methods, but their implementation signifies compatibility with certain operations. The java.io.Serializable interface is a typical marker interface, classes must implement this interface in order for their instances to be serialized and de-serialized. Actions: Follow-up or correct this answer. Submit a new question.