aspose file tools*
The moose likes Beginning Java and the fly likes Can we create our own Marker Interfaces...? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Can we create our own Marker Interfaces...?" Watch "Can we create our own Marker Interfaces...?" New topic
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: 39436
    
  28
There is also discussion of marker interfaces in Effective Java by Joshua Bloch.
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

See this,


http://muhammadkhojaye.blogspot.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we create our own Marker Interfaces...?