| Author |
Can we create our own Marker Interfaces...?
|
Jalli Venkat
Greenhorn
Joined: Aug 10, 2006
Posts: 27
|
|
Hi Friends,
I know that " An Interface which doesn't have any methods" is called Marker Interface.
If we create an interface without any methods, is it become a Marker Interface........?
Then what is the main purpose(Need) of Marker Interface..?
Thanks
|
venkat
|
 |
Samrat Som
Ranch Hand
Joined: Feb 04, 2009
Posts: 40
|
|
|
This thread can help you :Marker Interface
|
SCJP 1.6
SCWCD 1.5 (Preparing...)
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32638
|
|
|
There is also discussion of marker interfaces in Effective Java by Joshua Bloch.
|
 |
Muhammad Khojaye
Ranch Hand
Joined: Apr 12, 2009
Posts: 341
|
|
|
See this,
|
http://muhammadkhojaye.blogspot.com/
|
 |
 |
|
|
subject: Can we create our own Marker Interfaces...?
|
|
|