Question
a.
KeyListener()
b.
addKistener()
c.
addKeyListener()
d.
eventKeyboardListener()
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of these methods are used to register a keyboard event listener?
Similar Questions
Discover Related MCQs
Q. Which of these methods are used to register a mouse motion listener?
View solution
Q. What is a listener in context to event handling?
View solution
Q. Event class is defined in which of these libraries?
View solution
Q. Which of these methods can be used to determine the type of event?
View solution
Q. Which of these class is super class of all the events?
View solution
Q. Which of these events will be notified if scroll bar is manipulated?
View solution
Q. Which of these events will be generated if we close an applet’s window?
View solution
Q. Which of these events is generated when a button is pressed?
View solution
Q. Which of these methods can be used to obtain the command name for invoking ActionEvent object?
View solution
Q. Which of these are integer constants defined in ActionEvent class?
View solution
Q. Which of these methods can be used to know which key is pressed?
View solution
Q. Which of these events is generated by scroll bar?
View solution
Q. Which of these methods can be used to determine the type of adjustment event?
View solution
Q. Which of these methods can be used to know the degree of adjustment made by the user?
View solution
Q. Which of these constant value will change when the button at the end of scroll bar was clicked to increase its value?
View solution
Q. Which of these events is generated when the size of an event is changed?
View solution
Q. Which of these events is generated when the component is added or removed?
View solution
Q. Which of these methods can be used to obtain the reference to the container that generated a ContainerEvent?
View solution
Q. Which of these methods can be used to get reference to a component that was removed from a container?
View solution
Q. Which of these are integer constants of ComponentEvent class?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!