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 initial size of arraylist in java?
What is the difference between compare and compareto in java?
What is java in layman terms?
What are the 8 primitive data types in java?
What are namespaces in java?
Can an interface be defined inside a class?
What are the types of java?
what r advatages of websphere? & how to deploy?
What is javac_g?
What is math exp in java?
How do you calculate square roots?
What is the use of bufferedreader?
What is currentthread()?
How to declare objects of a class ?
What is a buffer in computer?