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
What is the meaning of flag day?
What do you mean by compiler?
What is prefix of a string?
State two differences between C and Java.
How to restrict a member of a class from inheriting by its sub classes?
What is equals method in java?
How finally used under exception handling?
What is the primitive type byte?
What is string and example?
What is module in project?
What do you understand by looping in java? Explain the different types of loops.
How to sort list of list in java?
How do you clear an arraylist in java?
Why is java logo a cup of coffee?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent