In java language programming, interfaces with no methods are known as marker interfaces. Marker interfaces are Serializable, Clonable, SingleThreadModel, Event listener. Marker Interfaces are implemented by the classes or their super classes in order to add some functionality.
suppose you want to persist the state of an object for that we have to implement Serializable interface.
One more example.........if you want to made a clone of an object then you have to implement Clonable interface........
Dec 29, 2010