
AJP Vidyalankar Polytechnic CHP 3 Part 1
Authored by Daksh Patel
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
47 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these packages contains all the classes and methods required for even handling in Java?
java.applet
java.awt
java.event
java.awt.event
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an event in delegation event model used by Java programming language?
An event is an object that describes a state change in a source.
An event is an object that describes a state change in processing.
An event is an object that describes any change by the user and system.
An event is a class used for defining object, to create events.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these methods are used to register a keyboard event listener?
KeyListener()
addKistener()
addKeyListener()
eventKeyboardListener()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these methods are used to register a mouse motion listener?
addMouse()
addMouseListener()
addMouseMotionListner()
eventMouseMotionListener()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Event class is defined in which of these libraries?
java.io
java.lang
java.net
java.util
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these methods can be used to determine the type of event?
getID()
getSource()
getEvent()
getEventObject()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class is super class of all the events?
EventClass
EventObject
ActionEvent
ItemEvent
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?