Sunday, 22 February 2015

What is Marker interface? How is it used in Java?

The marker interface is a design pattern, used with languages that provide run-time type information about objects.
It provides a way to associate metadata with a class where the language does not have explicit support for such metadata.
To use this pattern, a class implements a marker interface, and code that interact with instances of that class test for the existence of the interface.
Need More Clear Onthis .....

No comments:

Post a Comment