Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

Explain the different types of memory used by jvm?

0 Answers  

If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?

8 Answers   HeadStrong,

what do u mean by java bean??

2 Answers   ADP,

which book is better for jdbc ,servlets and jsp

0 Answers   TCS,

what is the RMI / IIOP?

3 Answers  

Is a class a subclass of itself?

0 Answers  

What is JNI?

1 Answers   Google, TCS,

How to send a request to garbage collector?

3 Answers  

What exceptions are thrown by RMI?

1 Answers  

What are the purpose of introspection?

0 Answers  

What is RMI architecture?

11 Answers   Infosys,

what is stringBuffer and StringBuilder?

3 Answers