GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE
Go To First  |  Previous Question  |  
 J2EE  |  Question 104 of 104    Print  
Marker Interface
Explain the purpose of Marker Interface.
When there is no methods in marker interface then what is the use of implementing it?



  
Total Answers and Comments: 2 Last Update: October 06, 2009     Asked by: ameesala 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 18, 2009 03:50:50   #1  
VijayAravind Member Since: September 2009   Contribution: 2    

RE: Marker Interface
Marker Interface is a Java interface which doesnt have any methods in it. Marker Interfaces are Serializable clonable Singlethreaded model Event listener. Marker interfaces are implemented by the class or its super class inorder to add some functionality.
 
Is this answer useful? Yes | No
October 06, 2009 05:53:04   #2  
jasmin sheeba rani Member Since: October 2009   Contribution: 1    

RE: Marker Interface
Marker interfaces are also called "tag" interfaces since they tag all the derived classes into a category based on their purpose. For example all classes that implement the Cloneable interface can be cloned (i.e. the clone() method can be called on them). The Java compiler checks to make sure that if the clone() method is called on a class and the class implements the Cloneable interface.
 
Is this answer useful? Yes | No

 Related Questions

What is the need of JNDI(Java Naming and Directory Interface) ? Explain with real-time usage ? 
Latest Answer : Hi Friends ,The main advantage of JNDI(java naming and directory interface) is used for the searching the information in the huge amount data. if we have huge amount of data, for searching we use  JNDI API instead of JDBC API then it increases ...

Explain the purpose of Marker Interface.When there is no methods in marker interface then what is the use of implementing it? 
Latest Answer : Marker interfaces are also called "tag" interfaces since they tag all the derived classes into a category based on their purpose. For example, all classes that implement the Cloneable interface can be cloned (i.e., the clone() method can be ...
Read Answers (2) | Asked by : ameesala


 Sponsored Links

 
Related Articles

High-Speed Serial Interface (HSSI)

High Speed Serial Interface HSSI HSSI is High Speed Serial Interface was first developed by Cisco systems and the main purpose was to solve high speed requirement issues The main application of HSSI is on the Wide Area Networks and it helps to enhance the data flow speed on these networks It can wor
 

Fiber Distributed Data Interface (FDDI)

Fiber Distributed Data Interface FDDI The Fiber Distributed data interface or the FDDI is a 100 mbps line using the LAN network and is connected through a fiber optic cable The FDDI technology is used where the networks need a high speed bandwidth and need to cover huge distances than the copper wir
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 

HR Interview - How To Succeed At HR Interviews

How To Succeed At HR Interviews There are a number of things you will need to do in order to make sure you pass the interview process Your appearance is something that you will want to pay close attention to Even if you feel that your appearance shouldn t be a factor in whether or not you re highere
 

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