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 the use of callablestatement?
What is a parameter example?
What do you mean by inner class in java? Explain
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What is meant by class loader? How many types are there?
What are controls and their different types in awt?
what is a thread pool in java and why is it used?
What is math floor in java?
What is integer size in java?
Differentiate between array list and vector in java.
Explain about public and private access specifiers?
Can we print null in java?
What is the major drawback of internal iteration over external iteration?
What is the size of arraylist in java?
What is a vararg?