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
How to write custom exception in java?
Is static a singleton?
Explain the inheritance?
Can we create more than one object singleton class?
How does thread synchronization occurs inside a monitor?
What is jar?
How does hashmap work in java ?
How will you compute size of a structure?
Why java uses the concept of the string literal?
What is constant in programming?
How many tetrahedral voids are there in bcc?
Is ++ operator is thread safe in java?
What do you mean by hashing?
What is "this" keyword in java? Explain
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?