Java Event Handling Mcqs
Our collections of Multiple choice questions and answers focuses on study of Java Event Handling. These questions are chosen from a collection of most authoritative and best reference books on Java Event Handling. Our aim is to prepare an individual for competitive exams like NTS, GAT, ECAT, University and College entrance exams and various tests and job interviews. One should practice our Mcqs to assimilate Java Event Handling topic comprehensively.
Java Programming Mcqs
- Data Types Variables and Arrays Mcqs
- Exception Handling in Java Mcqs
- Interfaces and Packages Mcqs
- Java Classes and Methods Mcqs
- Java Event Handling Mcqs
- Java Inheritance Mcqs
- Java IO and Applets Mcqs
- java lang and java io Mcqs
- Java Language Fundamentals Mcqs
- Java Operators and Control Statements Mcqs
- java utilities Mcqs
- Miscellaneous Topics in Java Mcqs
- Multithreading in Java Mcqs
- Serialization and Networking Mcqs
- Session Management and JSP and Servlet Mcqs
- String Handling
Computer MCQS
Sciences MCQS
33.
MouseEvent is subclass of which of these classes?
ComponentEvent
ContainerEvent
ItemEvent
InputEvent
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
34.
Which of these methods is used to get x coordinate of the mouse?
GetX()
GetXCoordinate()
GetCoordinateX()
GetPointX()
35.
Which of these are constants defined in WindowEvent class?
WINDOW_ACTIVATED
WINDOW_CLOSED
WINDOW_DEICONIFIED
All of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
36.
Which of these is superclass of WindowEvent class?
WindowEvent
ComponentEvent
ItemEvent
InputEvent
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
37.
Which of these packages contains all the event handling interfaces?
Java.lang
Java.awt
Java.awt.event
Java.event
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
38.
Which of these interfaces handles the event when a component is added to a container?
ComponentListener
ContainerListener
FocusListener
InputListener
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
39.
Which of these interfaces define a method actionPerformed()?
ComponentListener
ContainerListener
ActionListener
InputListener
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
40.
Which of these interfaces define four methods?
ComponentListener
ContainerListener
ActionListener
InputListener
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
41.
Which of these interfaces define a method itemStateChanged()?
ComponentListener
ContainerListener
ActionListener
ItemListener
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
42.
Which of these methods will respond when you click any button by mouse?
MouseClicked()
MouseEntered()
MousePressed()
All of the mentioned
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
43.
Which of these methods will be invoked if a character is entered?
KeyPressed()
KeyReleased()
KeyTyped()
KeyEntered()
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
44.
Which of these methods is defined in MouseMotionAdapter class?
MouseDragged()
MousePressed()
MouseReleased()
MouseClicked()
Answer & Solution
No Solution for this Answer..! Report or Discus this Question
45.
Which of these is a superclass of all Adapter classes?
Applet
ComponentEvent
Event
InputEvent