This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 38062
    
  22
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/
 
 
subject: Can we create our own Marker Interfaces...?
 
Similar Threads
Marker interface
serializable interface
Marker interface related question
marker interface
marker interface