What is source and listener?



What is source and listener?..

Answer / janet

Source: A source is an object that generates an event.this
occurs when the internal state of that object changes in
some way.
Listener: A listener is an object that is notified when an
event occurs.It has two major requirements First,it must
have been registered with one or more sources to receive
notifications about specific types of events.Second,it must
implement methods to receive and process these
notifications.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is Servlet Filter And What does it work?

1 Answers   TCS,


What class is the top of the awt event hierarchy?

0 Answers  


What is RMI Registry?

6 Answers   Siemens, United Software Solutions,


What does module-relative mean?

0 Answers  


What is Stream Tokenizer?

0 Answers   TCS,


Explain about RMI Architecture?

0 Answers  


How would you reatach detached objects to a session when the same object has already been loaded into the session?

0 Answers  


when we applied start()method on a thread ,how does it know that to execute run()method on that object?

2 Answers   HCL,


what is catalina in tomcat server.

11 Answers   IBM,


What is the difference between java class and bean?

0 Answers  


Can we define constructors in Servlet?

3 Answers   Accenture, Opus, Wipro,


What classes of exceptions may be caught by a catch clause?

0 Answers  


Categories