What is the purpose of an adapter class?

Lò Ngọc

New member
What is the purpose of an adapter class?
Answer
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.
 

Tìm kiếm

Back
Top