File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 32638
    
    4
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/
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Can we create our own Marker Interfaces...?
 
Similar Threads
serializable interface
Marker interface
marker interface
Marker interface related question
marker interface