Answer Posted / barkha
An adapter class is a class that provides a dummy (empty)
implementation for an interface. That way someone who wants
to implement the interface but does not want or does not
know how to implement all methods, can use the adapter class
instead, and only override the methods he is interested in.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is arrays sort in java?
What is data type in computer?
I want to print “hello” even before main is executed. How will you acheive that?
Define reflection.
What are three advantages of using functions?
What is a dynamic array in java?
Which is faster set or list in java?
What is an infinite loop in java? Explain with an example.
Does java vector allow null?
What is the use of default method in interface in java? Explain
How do you use substring in java?
What is difference between length and length() method in java ?
enlist some features of jdk.
What is bubble sorting in java?
Can a constructor be made final?