Answer Posted / akki
Adapter classes are empty implementation of the methods provided by their corresponding interfaces.
if we implements the interface we have to give definition to all methods of interface.
but if we extend adapter class then we will require to define method which we gonna use in our code
| Is This Answer Correct ? | 20 Yes | 5 No |
Post New Answer View All Answers
What is keyword and identifier?
How does singleton class work?
What is the difference between heap memory and stack memory?
Which class is the superclass of all classes?
Is java a digit method?
What is meant by inheritance and what are its advantages?
What two classes are used to read data only?
What are java methods?
Explain the different forms of polymorphism?
What is meant by anonymous class?
When is the arraystoreexception thrown?
Are arrays passed by reference in java?
Which sort is best in java?
What is a generic type?
What is string data?