What command do you need to write in actionPerformed() event handler of button, in order to make it exit button

Q15. What command do you need to write in actionPerformed() event handler of button, in order to make it exit button?

Ans. System.exit(0);

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: