Vidyalelo
Java Programming · Q45

Java Event Handling

Programming · Java Programming · question 45

Q45

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

A.
getKey()
B.
getModifier()
Answer
C.
getActionKey()
D.
getActionEvent()

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board