This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 43949
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
Have you checked out Aspose?
subject: Marker Interface
It's not a secret anymore!