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

diff between jsp include directive and jsp action include?

2 Answers   SolutionNET,


which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based

1 Answers  


What are the diff types of exception?

0 Answers  


What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?

1 Answers  


What is a class loader? What are the different class loaders used by jvm?

0 Answers  






What are the various thread priorities?

1 Answers  


Brief description about local interfaces?

0 Answers  


To make an object to begin executing as a separate thread, what method is used?

2 Answers  


whats is mean by class.forName() whats the return type of class

6 Answers   SolutionNET,


What are callback interfaces?

0 Answers  


What is the difference between the string and stringbuffer classes?

0 Answers  


What modifiers may be used with an interface declaration?

0 Answers  


Categories