Answer Posted / ranganathkini
The Java AWT provides a number of adapter classes for the
different EventListener interfaces. These adapter classes
implements the corresponding interfaces with a series of
do-nothing methods.
By subclassing the respective Adapter rather than
implementing EventListener interfaces directly, one can
avoid having to write the methods that are not actually
needed. Only those methods can be overridden that are
planned to be actually implemented.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
In java how do we copy objects?
What do you understand by garbage collection in Java? Can it be forced to run?
What is return null in java?
Explain thread life cycle in java?
What is a local class in java?
Can constructor be inherited?
How to make a read-only class in java?
Difference between Preemptive scheduling vs. Time slicing?
What is general methodology?
a thread is runnable, how does that work? : Java thread
When is update method called?
List primitive java types?
How do you download stubs from Remote place?
How do you execute a thread in java?
Why is java so popular?