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 would you use Bubble Sort to sort the number of elements?
How do you create immutable object in java?
Explain JMS in detail.
Explain the importance of import keyword in java?
Can a constructor be protected?
What are the files generated after using IDL to java compiler?
What is the purpose of default constructor?
What is meant by object oriented programming – oop?
Give me some null interfaces in java?
What is jee6?
What is a numeric literal?
why java does not support unsigned keyword?
What is overloading and overriding in java?
How can you make a class serializable in java?
What are reference variables in java?