AJP Unit-3

AstonishedMookaite avatar
AstonishedMookaite
·
·
Download

Start Quiz

Study Flashcards

14 Questions

________ is super class of all the events.

EventObjeet

Which of these packages contains all the classes and methods required for even handling in Java?

java.awt.event

Which of these events is generated when the a window is closed?

WindowEvent

________method are used to register a keyboard event listener

addKeyListener()

Which of these methods can be used to know the degree of adjustment made by the user?

getValue()

A MenuItem object can generate __________ events.

ActionEvent

A source generates an event and sends it to ___________ listeners that can handle the event

One or more

A ________________________ is generated when a component is added to or removed from a container.

ContainerEvent

ActionEvent Class is used for Which Control ?

Button , List ,MenuItem

Adapter class belongs to the package

java.awt.event

Adapter Class provides_____________________________

Empty implementation of all methods of a listener

An event is generated when the internal state of the event source is ___________.

Changed

An object that would like to be notified of and respond to an event is

EventListener

At the root of the Java event class hierarchy is ___________which is the superclass for all event

EventObject

Test your knowledge of Java event handling with this quiz. Questions cover topics such as event classes, methods for event registration, and types of events generated by different objects.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Java AWT and Event Driven Programming Quiz
10 questions
AJP Unit-1
70 questions

AJP Unit-1

GlamorousHeliodor avatar
GlamorousHeliodor
Java Swing Components Quiz
5 questions

Java Swing Components Quiz

GuiltlessMossAgate6560 avatar
GuiltlessMossAgate6560
Use Quizgecko on...
Browser
Browser