This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Marker Interface" Watch "Marker Interface" New topic
Author

Marker Interface

Mayur Malhotra
Greenhorn

Joined: Mar 18, 2008
Posts: 17
Hi,

I Know that marker interface is an empty iterface,then what I want to know is that how does a class implementing marker interface work,i.e.how does how does a class implementing marker interface say serializable know that what is the functionality of serialization?
Venkata Kumar
Ranch Hand

Joined: Apr 16, 2008
Posts: 110

please see this link http://en.wikipedia.org/wiki/Marker_interface_pattern


SCJP 5.0, SCWCD 5, preparing for SCDJWS
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
You can also search through these forums; this question has been asked (ans answered) many times. Click the "Search" link at the top of the page, and select "All forums".
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43350
    
  32
And there is a JavaRanch FAQ.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Marker Interface
 
It's not a secret anymore!