Javatpoint Logo

marker interface

By: nisha5*** On: Tue Mar 04 20:57:21 PST 2014     Question Reputation1 Answer Reputation3 Quiz Belt Series Points0  4Blank User
wht is the meaning of marker interface.....

and whts the meaning of marker.....
Up0Down

 
An interface is called a marker interface when it is provided as a handle by java interpreter to mark a class so that it can provide special behaviour to it at runtime and they do not have any method declarationsImage Created0Down

By: [email protected] On: Tue Mar 04 21:24:43 PST 2014 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :2Yes0No
 
Marker interface is used as a tag to inform a message to the java compiler so that it can add special behaviour to the class implementing it. Java marker interface has no members in it.Image Created0Down

By: [email protected] On: Wed Mar 05 04:22:24 PST 2014 Question Reputation0 Answer Reputation359 Belt Series Points0 359User Image
Are You Satisfied :2Yes0No
 
it's just a interface for marking like you have your school or clg id thats it.Image Created2Down

By: [email protected] On: Thu Mar 06 00:03:32 PST 2014 Question Reputation0 Answer Reputation392 Belt Series Points0 392User Image
Are You Satisfied :0Yes0No