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 consumer interface?
what is inner class in java?
Is node a data type in java?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What is the use of runnable interface?
What do you understand by casting in java language?
How do you add an element to an arraylist in java?
What happens if main method is not static?
can java object be locked down for exclusive use by a given thread? : Java thread
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
What is the maximum size of a string in java?
What are the differences between processes and threads?
Can I uninstall java?
Why we used vector class?
How to make a class or a bean serializable?