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 |
how can we load a file of a user in the database table?
Is a class a subclass of itself?
Can I use multiple html form elements with the same name?
What are the services in RMI ?
What is the difference between static and non-static with examples?
what is the diffrence between banking and insurance domain?
Why a client should be multithreading? Explain.
For an example, if we have some variable in run method, and we created one or more threads. Does all threads will share the same variable or a copy of variable is created for each thread??
Explain the difference between object state and behavior?
What value does readline() return when it has reached the end of a file?
What is the purpose of the finally clause of a try-catch-finally statement?
Name the method to find, if a thread is active or not?