31. Which of these is superclass of ContainerEvent class? A. WindowEvent B. ComponentEvent C. ItemEvent D. InputEvent Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
32. What is a listener in context to event handling? A. A listener is a variable that is notified when an event occurs B. A listener is a object that is notified when an event occurs C. A listener is a method that is notified when an event occurs D. None of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
33. Which of these methods can be used to know the degree of adjustment made by the user? A. getValue() B. getAdjustmentType() C. getAdjustmentValue() D. getAdjustmentAmount() Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
34. Which of these packages contains all the event handling interfaces? A. java.lang B. java.awt C. java.awt.event D. java.event Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
35. Which of these interfaces define a method itemStateChanged()? A. ComponentListener B. ContainerListener C. ActionListener D. ItemListener Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
36. Which of these is superclass of WindowEvent class? A. WindowEvent B. ComponentEvent C. ItemEvent D. InputEvent Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
37. Which of these are integer constants of TextEvent class? A. TEXT_CHANGED B. TEXT_FORMAT_CHANGED C. TEXT_VALUE_CHANGED D. TEXT_SIZE_CHANGED Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
38. What is an event in delegation event model used by Java programming language? A. An event is an object that describes a state change in a source B. An event is an object that describes a state change in processing C. An event is an object that describes any change by the user and system D. An event is a class used for defining object, to create events Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
39. Which of these are integer constants of ComponentEvent class? A. COMPONENT_HIDDEN B. COMPONENT_MOVED C. COMPONENT_RESIZE D. All of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
40. Which of these are constants defined in WindowEvent class? A. WINDOW_ACTIVATED B. WINDOW_CLOSED C. WINDOW_DEICONIFIED D. All of the mentioned Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board