Marker interface in Java
is interfaces with no field or methods or in simple word empty interface in
java is called marker interface. Marker interface in Java is used to indicate
something to compiler or JVM.
Example of market interface is Serializable,
Clonnable and Remote interface.
No comments:
Post a Comment