Marker Interface:
A marker interface is an empty interface with no fields or methods. These are used to indicate some information to compilers or JVMs
Ex: Serializable, Cloneable, EventListener and Remote interfaces
A Class implements them to claim the membership in a particular set.
The String class and all the wrapper classes implement the java.io.Serializable interface by default
A marker interface is an empty interface with no fields or methods. These are used to indicate some information to compilers or JVMs
Ex: Serializable, Cloneable, EventListener and Remote interfaces
A Class implements them to claim the membership in a particular set.
The String class and all the wrapper classes implement the java.io.Serializable interface by default