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                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 ?    3 Yes 1 No
Ravinder
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Difference between Hash Table and Hash Map? Persistent5
What is means by DLL file means ? What is the use of DLL file? What are the contents of DLL file?  1
primitive data types in Java ?  2
We have two methods to create methods the threads. 1. Implementing runnable interface 2. Extending to thread class and overriding run method. Among these two which one is better and why? Please explain me in detail.  1
What is the difference between add() and addElement() method in Vector Class ? TCS2
In Serialization, whether you will use Static variables? HCL1
when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.  1
can any one tell me when do u go for inheritance and polymorphism  1
Does a class inherit the constructor of its super class?if it does, how can you hide that constructor? if it doesnot how can you call it from the sub class?  1
What is Distributed Application and what is its usage?  1
how u do unit testing? iFlex2
can we create instance for interface in java?  2
what is business objects?  1
what is java bean?where can we use it? TCS2
watz the difference between abstract class and interface? Which one u ill choose as a designer? Sonata1
Explain Global variables in Packages?  1
Can you have a constructor in abstract class?  4
whays is mean by inner class? HCL2
Difference between the paint() and repaint() methods?  1
How java is platform independent? TCS4
 
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