in an adapter class program if it contains 5 method how many methods are to be overiden
Answers
Answered by
9
Adapter Class Program
Explanation:
- Mouse clicked, mouseExited, mouseEntered, mousePressed, and mouseReleased are the five ways available.
- Even if only one of these techniques is required when alerted of an event, all of them must be implemented.
- An adapter class in JAVA allows listener interfaces to be implemented by default.
- The Delegation Event Model gave rise to the concept of listener interfaces.
- It's one of the numerous approaches used in Graphical User Interface (GUI) programming languages like JAVA to handle events.
- The user interacts with the system through related images and graphics in most event-driven GUI programming.
- This implies that any action taken by the user, like as moving the mouse cursor on the screen, clicking a button, or scrolling a page, is treated as a separate event.
Similar questions