in Education by
Which of these packages contains all the classes and methods required for even handling in Java? (a) java.applet (b) java.awt (c) java.event (d) java.awt.event I have been asked this question in an international level competition. My question is based upon Event Handling Basics in chapter Event Handling of Java Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
The correct option is (d) java.awt.event Easiest explanation: Most of the event to which an applet response is generated by a user. Hence they are in Abstract Window Kit package, java.awt.event.

Related questions

0 votes
    Which of these packages contains all the event handling interfaces? (a) java.lang (b) java.awt (c) java.awt ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    FocusEvent is subclass of which of these classes? (a) ComponentEvent (b) ContainerEvent (c) ItemEvent (d) ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    MouseEvent is subclass of which of these classes? (a) ComponentEvent (b) ContainerEvent (c) ItemEvent (d) ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to obtain the command name for invoking ActionEvent object? (a) getCommand() ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods are used to register a keyboard event listener? (a) KeyListener() (b) addKistener() ( ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods are used to register a mouse motion listener? (a) addMouse() (b) addMouseListener() ( ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to determine the type of event? (a) getID() (b) getSource() (c) ... chapter Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to know which key is pressed? (a) getKey() (b) getModifier() (c) ... division Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to determine the type of adjustment event? (a) getType() (b) getEventType ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to know the degree of adjustment made by the user? (a) getValue() (b ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to obtain the reference to the container that generated a ContainerEvent? (a) ... Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to get reference to a component that was removed from a container? (a) ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to know the type of focus change? (a) typeFocus() (b) typeEventFocus() ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which of these methods can be used to obtain the coordinates of a mouse? (a) getPoint() (b) getCoordinates( ... Event Handling of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
...