in Education by
Which of these interfaces define a method itemStateChanged()? (a) ComponentListener (b) ContainerListener (c) ActionListener (d) ItemListener The question was posed to me during an internship interview. My doubt stems from Event Listeners Interfaces topic in section Event Handling of Java Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Correct choice is (d) ItemListener To elaborate: None.

Related questions

0 votes
    Which of these interfaces define a method actionPerformed()? (a) ComponentListener (b) ContainerListener (c) ... of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these interfaces define four methods? (a) ComponentListener (b) ContainerListener (c) ActionListener (d) ... 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 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 packages contains all the classes and methods required for even handling in Java? (a) java.applet ... 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
    Which of these methods are used to register a mouse motion listener? (a) addMouse() (b) addMouseListener() ( ... 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 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
0 votes
    Which of these events will be notified if scroll bar is manipulated? (a) ActionEvent (b) ComponentEvent (c) ... 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 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 methods can be used to obtain the command name for invoking ActionEvent object? (a) getCommand() ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these are integer constants defined in ActionEvent class? (a) ALT_MASK (b) CTRL_MASK (c) SHIFT_MASK (d ... 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 know which key is pressed? (a) getKey() (b) getModifier() (c) ... division Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
...