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 r in java?
Can we override private methods?
Explain implementation and how is it different from conversion?
Explain working of call by reference function invoking.
Can we extend immutable class?
Why 1 is not a prime number?
What do you mean by flow of struts?
Is string serializable in java?
How can we make copy of a java object?
What is the point of polymorphism java?
How do you empty a list in java?
What is meant by inheritance and what are its advantages?
Is overriding possible in java?
What are measurable parameters?
What is the difference between object oriented programming language and object based programming language?