Advanced Java Programming05 marksEvent handling and action commands
What is action command? How it is used in java programs? Explain with example.
What is action command? How it is used in java programs? Explain with example. [5]
An action command is a string that identifies or labels an action event in Java. It is associated with components like buttons, menu items, and text fields to distinguish between different user actions and determine what operation should be performed when an event occurs. Action commands are used...