Computer Science, asked by govindsyam8287, 1 year ago

What is difference between Adapter class and listeners in java?

Answers

Answered by Akkuyadav
0
The adapter class can further be sub classed as a way to override the method required .Listeners are used when you plan to utilize most of the interface methods .Providing adapter classes (a. k. a empty or default implementations of interfaces) makes introducing new methods in interfaces less painful
Similar questions