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 a substitution variable?
Does unicode support all languages?
Does treeset allow null in java?
When do you get classcastexception?
What is the private method modifier?
What is the use of inner class?
What is scope of a variable?
What is the final method?
What is the use of bufferedreader?
Why we override equals() method?
What does string [] args mean?
What is the function of log?
Can we clone singleton object?
What is the size of string?
What do you understand by looping in java? Explain the different types of loops.