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
Does importing a package imports its sub-packages as well in java?
What is tree node in java?
Can we have multiple catch block for a try block?
What is the hashcode () and equals () used for?
What is the meaning of variable in research?
What do you mean by an object in java?
What do you know about the garbage collector?
Can we use different return types for methods when overridden?
How many bits is a 64 bit byte?
What is variable length arguments in java?
What does it mean that a class or member is final?
What do you understand by java?
What are the differences between this and super keyword?
What are the types of java languages?
What are extraneous variables examples?