How do marker interfaces affect the behaviour of classes?
Marker interfaces do not affect the classes that implement them through their behaviour, they cannot since there are no required methods, they only mark the class by identifying it as a Java type that conforms to the interface. In the classic example, methods that serialize data can check that a class can be serialized by its implementation of the Serializable interface. Actions: Follow-up or correct this answer. Submit a new question.