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 is a flag variable?
What is a dynamic array java?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
What is difference between stringbuffer and string?
How to declare objects of a class ?
What is a singleton factory?
What is string [] args?
Is array passed by reference in java?
what do you understand by synchronization? : Java thread
What are the different tags provided in jstl?
Why are the destructors for base class and derived class called in reverse order when the program exits
Is null an object in java?
Is java 11 paid version?
How do you implement singleton class?
What is a java string?