File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Marker/Tag interfaces. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Marker/Tag interfaces." Watch "Marker/Tag interfaces." New topic
Author

Marker/Tag interfaces.

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Why do we have marker interfaces, whats the use since they do not have anything(nethods,variables) inside them.

We need to implement the marker interfaces like Serializable,Cloneable etc .
Internally do these interfaces do anything may be use pointers or references or sthg thats not visible to the outside world ?

Thanks
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

There are lots of articles on this on the internet like these: Purpose of Marker Interfaces, Marker Interface Pattern, Marker interfaces in java...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Marker/Tag interfaces.
 
Similar Threads
Marker interfaces
What is the use of Marker interfaces?
marker interfaces
usage of marker interface
small doubt regarding Marker Interface