Answer Posted / khan
In java programming language, adapter class is used to
implement an interface having a set of dummy methods. The
developer can then further subclass the adapter class so
that he can override to the methods he requires.
Implementing an interface directly, requires to write all
the dummy methods. In general an adapter class is used to
rapidly construct your own Listener class to field events.
| Is This Answer Correct ? | 56 Yes | 8 No |
Post New Answer View All Answers
What do you mean by an interface in java?
Explain about serializable interface in java?
What is the method in java?
What is an iterator interface in java programming?
If you do not want your class to be inherited by any other class. What would you do?
What is meant by stack and queue?
What are bind parameters?
Can we restart a thread already started in java?
Why is stringbuffer called mutable?
Explain about anonymous inner classes in java?
What is default constructors?
What are selection structures?
What is the current version of java?
Does java trim remove newline?
What is void class in java?