McqMate
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() |
View all MCQs in
Java ProgrammingNo comments yet