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
Does java allow overriding static methods ?
What is ‘is-a ‘ relationship in java?
What is quick sort in java?
Explain about anonymous inner classes ?
Is space a char?
Can Exception handling we can handle multiple catch blocks?
Differentiate between overriding and overloading cases?
Difference between serialization and deserialization in java?
What is the use of isempty in java?
What is a dot notation?
Java Compiler is stored in JDK, JRE or JVM?
How static variable work in java?
How many bits is a double?
What are the advantages of compiled language?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?