1.

Which of these are constants defined in WindowEvent class?(a) WINDOW_ACTIVATED(b) WINDOW_CLOSED(c) WINDOW_DEICONIFIED(d) All of the mentionedThe question was posed to me during a job interview.I'm obligated to ask this question of MouseEvent, TextEvent & WindowEvent Class in portion Event Handling of Java

Answer»

The CORRECT option is (d) All of the mentioned

The explanation is: WindowEvent class DEFINES 7 CONSTANTS – WINDOW_ACTIVATED, WINDOW_CLOSED, WINDOW_OPENED, WINDOW_DECONIFIED, WINDOW_CLOSING, WINDOW_DEACTIVATED, WINDOW_ICONIFIED.



Discussion

No Comment Found

Related InterviewSolutions