Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Marker Interface

 
Mayur Malhotra
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 110
Firefox Browser Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please see this link http://en.wikipedia.org/wiki/Marker_interface_pattern
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48917
58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And there is a JavaRanch FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic