Event Handling In Java - Study Mode

[#1] Which of these is superclass of ContainerEvent class?
Correct Answer

(B) ComponentEvent

[#2] What is a listener in context to event handling?
Correct Answer

(B) A listener is a object that is notified when an event occurs

[#3] Which of these methods can be used to know the degree of adjustment made by the user?
Correct Answer

(A) getValue()

[#4] Which of these packages contains all the event handling interfaces?
Correct Answer

(C) java.awt.event

[#5] Which of these interfaces define a method itemStateChanged()?
Correct Answer

(D) ItemListener