Use of Marker Interface in java

RELATED TOPICS

Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". what is mean by "storing state of an object.

RELATED TOPICS
View Comments
Join the discussion
Be the first to comment on this article. Our Commenting Policies