An Adapter class in an implementation class of a listener interface which contains all methods implemented with empty body. WindowAdapter is an adapter class of WindowListener interface. Adapter classes reduce overhead on programming while working with listener interfaces.