0% found this document useful (0 votes)
2 views1 page

Event Handling Question

Uploaded by

aayushsawant511
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Event Handling Question

Uploaded by

aayushsawant511
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Ajp : 22517 mcq:

1. The super class of event : EventObject

2. Adapter class belong to which package: java.awt.event.*;

3. An object that would like to notified and responds to an event : EventListner

4. At the root of the Java event class hierarchy is which is the superclass for all events.: eventObject

5. Event listner is an : interface

6. EventObject is present in java.util package

7. Event object contain two important method :getSource and toString ()

8. Focus event is an subclass of : Component Event

9. getID() method is provided by class: AWTEvent

10. how to remove the eventListner : using removeTypeListner()

11. The method of mouseEvent () : getClickCount()

12. The following method is an abstract method of textListner interface: textChanged(TextEvent obj)

13. The delegation model is used for standard :Event Listning

14. The mouseEvent class does not provide the constant: Mouse_WheelMove

15. When a component obtain keyborad focus, which method is invoked:void


focusGained(FocusEvent ev)

16. Which is among the following is true about adapter classes: Adapter classses reduce the
complexity of event listner

17.

You might also like