1.

What Is Marker Interface? How Is It Used In Java?

Answer»

Marker interface is an interface which help us to NOTIFY few information to JVM/Compiler. The marker interface does not have any BODY, it’s a empty interface. Ex. Cloneable, SERIALIZATION, ETC.

Marker interface is an interface which help us to notify few information to JVM/Compiler. The marker interface does not have any body, it’s a empty interface. Ex. Cloneable, Serialization, etc.



Discussion

No Comment Found