PDA

View Full Version : What is adapter class?



Shivangi Panwar
06-23-2016, 03:31 AM
What is adapter class?

pxljobs
08-02-2016, 02:48 AM
The Adapter class provides the default modification of all methods of an interface,we don't need to modify all the methods of the interface so we can say it reduces coding burden.for that the adapter class is very helpful since it already modifies all the methods of an interface and by implementing the adapter class.

tyagi
03-29-2017, 11:06 PM
An adapter class provides the default implementation of all methods in an event listener interface. Adapter classes are very useful when you want to process only few of the events that are handled by a particular event listener interface.

Thank you~!