File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Marker Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Marker Interface" Watch "Marker Interface" New topic

Marker Interface

Saravanakumar Gurusamy

Joined: Jan 31, 2007
Posts: 5
What is use of an Marker Interface?
Rao Raghu
Ranch Hand

Joined: Jan 05, 2007
Posts: 100
Marker Interfaces dont have any body or methods to implement. They are just mentioned at the class name declaration. Mere mention of this adds a special functionality to the class.

Example: Serializable

RAGHU<br /> <br />"When the going gets tough, the tough get going"
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46326
Welcome to the Ranch.

More about marker interfaces, also called tagging interfaces on the Ranch here.
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 862
I googled: "java marker interface" - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
I agree. Here's the link:
subject: Marker Interface
It's not a secret anymore!