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
How do you add an element to a hashset in java?
Which class represents the socket that both the client and server use to communicate with each other?
What is the default execution method in java?
What does three dots mean in java?
What is Major and importance difference between for and foreach loop ?
Which keyword specify that a variable is effectively final ?
What are the differences between wait() and sleep()?
What do you mean by scope of variable?
What is singleton service?
Compare overloading and overriding?
Can set contain duplicates?
What is lexicographically smallest string?
Is alive in java?
What is meant by local variable and instance variable?
What are meta-annotations?