What is a Marker Interface?

An empty interface in Java is referred to as a Marker interface. Serializable and Cloneable are some famous examples of Marker Interface. 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *