What is source and listener?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Stream Tokenizer?

1734


how to use debug in my elipse to solve problems that exist in my project

1768


What is a policy?

1778


How will you pass parameters in RMI? Why do you serialize?

708


What must a class do to implement an interface?

588






int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1371


Difference between new operator and class.forname().newinstance()?

605


What is the difference between static and non-static with examples?

1364


What is jboss?

578


Define prototype?

590


Can I use javascript to submit a form?

620


What is prototype?

613


What are the different approaches to represent an inheritance hierarchy?

592


Why does the tag url-encode javascript and mailto links?

587


Write a singleton program?

576