ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
How can be define MARKER interfce in java
 Question Submitted By :: Neeraj_passion2001
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can be define MARKER interfce in java
Answer
# 1
MARKER INTERFACE or TAGGED INTERFACE ARE GIVING SOME SORT 
OF INFORMATION ABOUT THAT PARTICULAR OBJECT and it will 
giving some marker abt thae object

Generally a interface witout methods are called are 
marker/tagged interface..(but this is not corect)

Ex:
clonable,runnable,comparable,serializable


A inrefaces with some ability are ex of marker interface

1)in comparable interface,
   one method compare() will be there.......>
.....



ex:
interface Good{}....>gives some infor.abt obj called as it 
is good

interface Bad{}
 
Is This Answer Correct ?    4 Yes 3 No
Ravinder
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is the is a and has a relation ship in oops concept in java? BearingPoint5
Difference between Superclass and Subclass?  2
what is difference between excute query ()and execute update ()? Symphony5
what is mean by method signature? Satyam6
What happens when a main method is declared as private? Sun-Microsystems8
How can be define MARKER interfce in java  1
what is polymorphism with example?types of polymorphism? HP6
While opening the file, what type of exceptions can be caught?  3
How the elements are organized in GridLayout?  1
why java is not supporting multiple inheritence?  3
What are the latest versions in JAVA related areas? Netcraft2
can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}  4
Difference between Interface & Abstract class?  4
What are integer overflows and underflows and how to handle them? Wipro2
what is mean by overriding in which situation we wil use? Atlas-Systems4
How can you take string into InputStream?  3
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).  2
How to convert a string to long?  2
Can we have a abstract class withought any method? What is a purspose of this?  1
Which of these methods belong to Thread & Object class? join, yield, sleep, wait, notify Ericsson2
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com