The KeyPress event will capture pressing the key:
-
A.
-
shift.
-
control.
-
Both a and b.
-
All of the above.
A
Correct answer
Explanation
The KeyPress event fires when a character key (like 'A') is pressed. Modifier keys like Shift, Control, and Alt trigger KeyDown/KeyUp events but not KeyPress because they don't produce character input. KeyPress specifically captures printable characters.