Create Own Marker Interface in Java

Marker/Tagging Interface: It’s a kind of interface which has no method is known as marker interface. Serializable, Clonnable is the example of marker interface   Use of Marker Interface: Marker Interfaces are used to indicate something to compiler/JVM. If JVM see that a class is a object of Marker Interface then it will perform some special operation. Take an example […]

» Read more