Nguyễn Hồ Ngọc Anh
Member
What is the use of adapter class?
Answer
An adapter class in JAVA is therefore used
to implement an interface having a set of dummy methods
. If a programmer chooses to inherit an adapter class, they will not be forced to implement all the methods listed under a particular listener interface.
Answer
An adapter class in JAVA is therefore used
to implement an interface having a set of dummy methods
. If a programmer chooses to inherit an adapter class, they will not be forced to implement all the methods listed under a particular listener interface.