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
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
What is thread safe in java?
What is difference between static class and normal class?
What do you understand by weak reference?
What is return used for in java?
can used Protected Class outside Function.?
Explain about member inner classes?
Can we convert integer to string in java?
Explain about data types?
What is casting in java programming?
What does 0 mean in boolean?
what are the disadvantages of indexes in oracle?
Explain spliterator in java8?
Is there any case when finally will not be executed?
What is object data type?