Examveda

In Java event handling, what is the purpose of the `KeyEvent` class?

A. It represents an exception

B. It represents an event source

C. It represents keyboard-related events

D. It represents an event listener

Answer: Option C


This Question Belongs to Java Program >> Event Handling In Java

Join The Discussion

Related Questions on Event Handling in Java