Q.

Which of these methods in KeyEvent class can be used to know which key is pressed?

A. getKeyCode()
B. getModifier()
C. getActionKey()
D. getActionEvent()
Answer» A. getKeyCode()
1.9k
0
Do you find this helpful?
14

View all MCQs in

Java Programming

Discussion

No comments yet