What is Marker Interface? Give few examples of Marker Interface.

Empty interface (no field or methods) in java is called marker interface. Marker interface in Java is an empty interface and is used to signal to compiler or JVM that the objects of the class implementing this interface must be treated in a special way.
Examples of marker interface are Serializable, Cloneable and Remote interface.

Author: Mahesh

Technical Lead with 10 plus years of experience in developing web applications using Java/J2EE and web technologies. Strong in design and integration problem solving skills. Ability to learn, unlearn and relearn with strong written and verbal communications.