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 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
 
what is struts-config-xml?and its use?  3
Explain break statement and continue statement?  3
how can i cal servlet from jsp page?how can i pass variablesfrom the jsp that servlet can access? Verizon1
Functionality of JVM?  3
what is mean by method signature? Satyam4
Can we access a database using applets?  2
Which of the following can be referenced by a variable? A. The instance variables of a class only B. The methods of a class only C. The instance variables and methods of a class  1
jdbc drivers? Wipro7
what are the purposes of native, transiant key words?  2
define System.out.println(); what is the meaning!  5
How can you reverse a string?  2
What restrictions are placed on method overloading and method overriding?  2
I/O blocking means?  1
What is the difference between array and arraylist? what is the difference between arraylist and linkedlist? EDS4
what is the use of abstract class and interface with example? DNS2
What is a compilation unit?  1
Difference between abstract class and Interfaces? Sai-Softech5
what is meta-Inf? Polaris1
how to connect one jsp page to another jsp page???? Symphony2
write java code to print second max number in the array Huawei4
 
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