Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners What is a Marker Interface?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
What is a Marker Interface?
1 Answer(s)      a year and 7 months ago
Posted in : Java Beginners


Hi,

What is a Marker Interface?

thanks,


Advertisement
View Answers

April 15, 2013 at 6:32 PM


Hi friend,

Marker interface is an interface which doesn't contain any member. A class that implements the marker interface and when this class is compiled compiler gets the message that this class is marked for performing special behavior. Introduction of annotation made the marker interface useless.

For more detail you can go through the following link

http://www.roseindia.net/java/master-java/interface.shtml



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com