Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Explain Which of these interfaces define four methods?
Home
Education
Explain Which of these interfaces define four...
asked
Feb 24, 2022
in
Education
by
JackTerrance
Which of these interfaces define four methods? (a) ComponentListener (b) ContainerListener (c) ActionListener (d) InputListener I had been asked this question in homework. My query is from Event Listeners Interfaces in chapter Event Handling of Java Select the correct answer from above options
java
event
hand
1
Answer
0
votes
answered
Feb 24, 2022
by
JackTerrance
Best answer
Right answer is (a) ComponentListener Explanation: ComponentListener defines four methods componentResized(), componentMoved(), componentShown() and componentHidden().
Related questions
0
votes
Q: Explain Which of these interfaces define a method actionPerformed()?
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
java
event
hand
0
votes
Q: Explain Which of these interfaces define a method itemStateChanged()?
Which of these interfaces define a method itemStateChanged()? (a) ComponentListener (b) ContainerListener (c) ... of Java Select the correct answer from above options...
asked
Feb 24, 2022
in
Education
by
JackTerrance
java
event
hand
0
votes
Q: Explain Which of these packages contains all the event handling interfaces?
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
java
event
hand
0
votes
Q: Explain Which of these interfaces handles the event when a component is added to a container?
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
java
event
hand
0
votes
Q: Explain Which of these packages contains all the classes and methods required for even handling in Java?
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
java
event
hand
0
votes
Q: Explain Which of these methods are used to register a keyboard event listener?
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
java
event
hand
0
votes
Q: Explain Which of these methods are used to register a mouse motion listener?
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
java
event
hand
0
votes
Q: Explain Which of these methods can be used to determine the type of event?
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
java
event
hand
0
votes
Q: Explain Which of these methods can be used to obtain the command name for invoking ActionEvent object?
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
java
event
hand
0
votes
Q: Explain Which of these methods can be used to know which key is pressed?
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
java
event
hand
0
votes
Q: Explain Which of these methods can be used to determine the type of adjustment event?
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
java
event
hand
0
votes
Q: Explain Which of these methods can be used to know the degree of adjustment made by the user?
Which of these methods can be used to know the degree of adjustment made by the user? (a) getValue() (b ... Event Handling of Java Select the correct answer from above options...
asked
Feb 24, 2022
in
Education
by
JackTerrance
java
event
hand
0
votes
Q: Explain Which of these methods can be used to obtain the reference to the container that generated a ContainerEvent?
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
java
event
hand
0
votes
Q: Explain Which of these methods can be used to get reference to a component that was removed from a container?
Which of these methods can be used to get reference to a component that was removed from a container? (a) ... Event Handling of Java Select the correct answer from above options...
asked
Feb 24, 2022
in
Education
by
JackTerrance
java
event
hand
0
votes
Q: Explain Which of these methods can be used to know the type of focus change?
Which of these methods can be used to know the type of focus change? (a) typeFocus() (b) typeEventFocus() ... Event Handling of Java Select the correct answer from above options...
asked
Feb 24, 2022
in
Education
by
JackTerrance
java
event
hand
...