GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  BAAN Infotech

 Print  |  
Question:  There is no methods in the marker interface,then what is the use of marker interface.And what is the functionality of the interface.Why we need to implement marker interface.



October 10, 2005 02:42:14 #2
 Sreenivas Rao   Member Since: Visitor    Total Comments: N/A 

RE: There is no methods in the marker interface,then w...
 

Marker Interfaces are very useful, but it doesn't consists anu methods.

these interfaces are must be implemented by the class itself.

for ex. Serializable, cloneable, Single Thread Model, EventListener, Remote are marker interfaces

     

 

Back To Question