Marker interface doesn\'t has any thing. It contains only interface declarations, then how it is handled by the JVM for the classes which implements this marker interface?
Take Exampe of clone(). Actually clone() is defined inside Object class. But it is protected. You can use it only if your class is implementing Cloneable interface. So what happens is, when you implement Cloneable, you get the right to use clone(). Interface doesn't contain any methods! Got it ?