GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java
Go To First  |  Previous Question  |  Next Question 
 Core Java  |  Question 427 of 502    Print  
What is markup interface? What is the purpose of markup interface?

  
Total Answers and Comments: 7 Last Update: December 11, 2008     Asked by: pradeep kumar 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: rhema
 
Marker Interface is a Java Interface which has no methods.
Ex : SingleThreadModel, Serializable, Cloneable

Above answer was rated as good by the following members:
yourssabari
August 12, 2007 22:09:03   #1  
rhema Member Since: September 2006   Contribution: 3    

RE: What is markup interface? What is the purpose of m...
Marker Interface is a Java Interface which has no methods.
Ex : SingleThreadModel Serializable Cloneable

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 13, 2007 02:20:27   #2  
ramanareddy        

RE: What is markup interface? What is the purpose of m...
Marker interface is Java interface Which has no methods

The purpose of marker interface is the JVM mark the interface which implementation take care me
User could not implement them JVM itself implement that is why we are using marker interface.

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
August 15, 2007 01:17:01   #3  
Karuna Reddy Member Since: June 2007   Contribution: 40    

RE: What is markup interface? What is the purpose of m...
Marker interface does not defines any methods. Ex: Serilaizalble Clonabale SingleThreadModel.
Marker interface is used to indicate to the JVM about certain functionality of the class implements in its in feature.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
February 14, 2008 04:03:36   #4  
sampra Member Since: February 2008   Contribution: 278    

RE: What is markup interface? What is the purpose of markup interface?
Marker Interface is a Java Interface which has no methods. and whole responsibilty on you to create method

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
February 21, 2008 11:49:15   #5  
nuttyvarun Member Since: February 2008   Contribution: 7    

RE: What is markup interface? What is the purpose of markup interface?
A so-called marker interface is a Java interface which doesn't actually define any fields. It is just used to "mark" Java classes which support a certain capability -- the class marks itself as implementing the interface. For example the java.lang.Cloneable interface.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 25, 2008 05:01:45   #6  
sunil_jsr123 Member Since: August 2008   Contribution: 1    

RE: What is markup interface? What is the purpose of markup interface?

In Java language programming interfaces with no methods are known as marker interfaces. Marker interfaces are Serializable Clonable SingleThreadModel Event listener. Marker Interfaces are implemented by the classes or their super classes in order to add some functionality.


 
Is this answer useful? Yes | No
December 11, 2008 01:53:23   #7  
NewuserMannu Member Since: December 2008   Contribution: 1    

RE: What is markup interface? What is the purpose of markup interface?
Markup interface is having no method used for TAGGER or MARKER
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape