Java - Adapter Classes

java

What is an adapter class?

By default, when you implement an interface, you have to implement all abstract methods that interface specified. With an adapter class, you don't have to do this. When you inherit from an adapter class, you only have to override the methods that you need.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License