Vidyalelo
Java Programming · Q61

Java Event Handling

Programming · Java Programming · question 61

Q61

Which of these methods can be used to obtain the command name for invoking ActionEvent object?

A.
getCommand()
B.
getActionCommand()
Answer
C.
getActionEvent()
D.
getActionEventCommand()

Answer: Option B

Solution

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