Q. Which of these methods can be used to obtain the command name for ActionEvent object? (Solved)
1. getCommand()
2. getActionCommand()
3. getActionEvent()
4. getActionEventCommand()
- b. getActionCommand()
1. getCommand()
2. getActionCommand()
3. getActionEvent()
4. getActionEventCommand()