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 Marker Interface 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 "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: 38087
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: 860
I googled: "java marker interface" - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
wood burning stoves
subject: Marker Interface
Similar Threads
marker interface
What is advantage of marker interface?
Marker Interface purpose
disadvantages of marker interface