Multiple Choice
Which of these methods in KeyEvent class can be used to know which key is pressed?
A) getKeyCode()
B) getModifier()
C) getActionKey()
D) getActionEvent()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: What is the preferred way to handle
Q10: The _ method help in clearing the
Q11: Which statement is static and synchronized in
Q12: Which of these methods are used to
Q13: What is the disadvantage of Type-4 Native-Protocol
Q15: Which of the following creates a List
Q16: What is a listener in context to
Q17: java.awt.Component class method getLocation() returns Point (containg
Q18: State true or false<br>(i) Java RMI supports
Q19: Which one of the following does not