Which of the following is a correct example of a Marker Interface?

Last Updated :
Discuss
Comments

Which of the following is a correct example of a Marker Interface?

interface Serializable { void serialize(); }


interface Cloneable {}


interface Marker { void mark(); }

interface Runnable { void run(); }

Share your thoughts in the comments