Computer Science, asked by robithr7289, 14 hours ago

in adapter class it is sufficient to include only the methods require to override

Answers

Answered by king7429
1

Answer:

It has five methods, mouse clicked, mouseExited, mouseEntered, mousePressed, and mouseReleased.

Answered by steffiaspinno
1

Mouse clicked, mouseExited, mouseEntered, mousePressed, and mouseReleased are the five techniques available.

  1. The standard implementations of any and all functions in an events listener interface is provided by an adapter class.
  2. When you just want to process a subset of the events handled by a given event listener interface, adapter classes come in handy.
  3. A matching event adapter class implements the interface and specifies each method in the standard with an empty method body for event listener interfaces with more than one method.
Similar questions