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
Is int a class in java?
What is the size of arraylist in java?
Is an object null?
What are the advantages of assembly language?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What is computer compiler?
What is the maximum size of a string in java?
Can you explain inner class.
What does snprintf return?
What is the role of the java.rmi.naming class?
How list contains works in java?
What is parse method?
What is cr keyboard?
Explain restrictions for using anonymous inner classes?
How does indexof work?