If you know how to define an interface, you know how to define a marker interface. Take any of the interfaces you've created and remove all method and constant declarations. Bingo, marker interface. Then use instanceof to test if an object implements your marker interface.
Joined: Jan 10, 2005
Hi David, I was waiting for your reply, I got it now how to make marker Interface.