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
Can we have a method name same as class name in java?
how does the run() method in runnable work? : Java thread
What is boolean false?
Explain the term virtual machine?
Explain JMS in detail.
What are structs in java?
What is return data type?
What is final int?
What is java reflection api?
What is the use of singleton class?
What is contract between hashcode and equal method?
What are the differences between heap and stack memory?
Write a program to print 15 random numbers using foreach of java 8?
What is the java idl system?
Explain the differences between abstraction and encapsulation?