What are adapter classes in java?

Answer:
An adapter class is a class that provides a dummy (empty) implementation for an interface. That way someone who wants to implement the interface but does not want or does not know how to implement all methods, can use the adapter class instead, and only override the methods he is interested in.
First answer by ID1090499651. Last edit by ID1090499651. Question popularity: 2 [recommend question].