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
Where pragma is used?
Is it possible to compare various strings with the help of == operator?
How is the marker interface used in Java?
What is variable and its types?
Is jdk required on each machine to run a java program?
Convert a BST into a DLL and DLL to BST in place.
What is the properties class?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is the difference between normal report & matrix report?
What is scope & storage allocation of static, local and register variables? Explain with an example.
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What does this mean java?
What is singleton class example?
What is number data type in java?
What is data type in java?