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 programming object?
How do generics work in java?
How the metacharacters are different from the ordinary characters?
What are the super most classes for all the streams?
What is meant by oops concept in java?
Are static members inherited to sub classes?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
How we can execute any code even before main method?
What an i/o filter in java programming?
Write a java program for binary search?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
What is public static void main?
What are the various access specifiers for java classes?
What are alternatives to java serialization?
Which variable is the independent variable?