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 the difference between class forname and new?
What is a parameter in java?
How to write custom exception in java?
What is immutable data?
What is static data type in java?
What is better- service oriented or batch oriented solutions?
Why java does not support pointers?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
Why do people says “java is robust”?
What is * argv?
How do you escape sequences in java?
Can classes declared using the abstract keyword cab be instantiated?
Is java platform independent?
How can constructor chaining be done using this keyword?
Can we use synchronized block for primitives?