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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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 are Observer and Observable used?
 Question Submitted By :: Bhanu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How are Observer and Observable used?
Answer
# 1
Objects that subclass the Observable class maintain a list 
of observers. When an Observable object is updated it 
invokes the update() method of each of its observers to 
notify the observers that it has changed state. The 
Observer interface is implemented by objects that observe 
Observable objects.
 
Is This Answer Correct ?    0 Yes 0 No
Nimisha
 
  Re: How are Observer and Observable used?
Answer
# 2
Objects that subclass the Observable class maintain a list 
of observers. When an Observable object is updated it 
invokes the update() method of each of its observers to 
notify the observers that it has changed state. The 
Observer interface is implemented by objects that observe 
Observable objects.
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
If two threads call a static method at the same point of time, what will happen? KPIT1
if i have one string class then how can you achive this class functionality of this class? Fidelity3
What are field variable and local variable?  2
What is the difference between abstract class and interface?  2
Can we inherit the constructor in a Class?please give one example. iGate3
What are blocks?. TCS1
Is ResultSet class? Bally-Technologies2
Why do inner class cannot have static declaration except static nested class? Wipro1
How to eliminate duplicates from an array? Wipro3
What is casting ?  2
Explain about GridBag Layout?  1
What is the purpose of finalization?  3
whats is the use of final,in which situation final can be used in the application? DNS2
What is the smallest package in Java API?  4
how can we import the user defined package without classpath?  1
what is life cycle of applet?  4
what is servlet filter?  1
what is jdk1.5 features? Virtusa2
When finally clause is executed?  3
How to call static method? Epoch3
 
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