What is a Marker Interface?
Marker interface is an interface which doesn't contain any member. A class that implements the marker interface and when this class is compiled compiler gets the message that this class is marked for performing special behavior. Introduction of annotation made the marker interface useless.
For more detail you can go through the following link