in Education by
Which of these events is generated when the size of an event is changed? (a) ComponentEvent (b) ContainerEvent (c) FocusEvent (d) InputEvent The question was posed to me in an interview for internship. My question is based upon ComponentEvent, ContainerEvent & FocusEvent Class in section Event Handling of Java Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Correct choice is (a) ComponentEvent For explanation: A ComponentEvent is generated when the size, position or visibility of a component is changed.

Related questions

0 votes
    Which of these events is generated when a button is pressed? (a) ActionEvent (b) KeyEvent (c) WindowEvent (d ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these events is generated when the component is added or removed? (a) ComponentEvent (b) ContainerEvent ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these events is generated when computer gains or loses input focus? (a) ComponentEvent (b) ContainerEvent ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these events is generated when the window is closed? (a) TextEvent (b) MouseEvent (c) FocusEvent (d ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these events is generated by scroll bar? (a) ActionEvent (b) KeyEvent (c) WindowEvent (d) ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these interfaces handles the event when a component is added to a container? (a) ComponentListener (b) ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to obtain the reference to the container that generated a ContainerEvent? (a) ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods is used to obtain the object that generated a WindowEvent? (a) getMethod() (b) ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to change location of an event? (a) ChangePoint() (b) TranslatePoint() ( ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods are used to register a keyboard event listener? (a) KeyListener() (b) addKistener() ( ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Event class is defined in which of these libraries? (a) java.io (b) java.lang (c) java.net (d) ... division Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to determine the type of event? (a) getID() (b) getSource() (c) ... chapter Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to determine the type of adjustment event? (a) getType() (b) getEventType ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these packages contains all the event handling interfaces? (a) java.lang (b) java.awt (c) java.awt ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these class is super class of all the events? (a) EventObject (b) EventClass (c) ActionEvent (d) ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
...