Multiple choice technology

wHAT IS MARKER INTERFACE?

  1. a interface with single method

  2. A interface with no methods

  3. A final interface

  4. there is nothing like marker interface

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A marker interface is an interface with no methods or fields, serving only to mark a class for special handling (e.g., Serializable, Cloneable, Remote). It conveys metadata to the JVM or compiler through the interface's presence alone.