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 have extension methods?
What are different data structures in java?
Differentiate between stringbuffer and string?
Can we call thread start () twice?
Describe the Big-O Notation.
Explain the importance of join() method in thread class?
What is illegal identifier in java?
What is ellipsis in java?
How do you clear a list in java?
What is heterogeneous in java?
How hashset works internally in java?
Why deletion in linkedlist is fast than arraylist?
What is map and hashmap in java?
What is sortedmap interface?
Difference between Linked list and Queue?