Multiple Choice
What can be determined about obj from the code below?
JMenuItem menuItem = new JMenuItem("Exit") ;
menuItem.addActionListener(obj) ;
A) The class of obj implements ActionListener
B) menuItem implements ActionListener
C) obj is of type MenuListener
D) obj is an object of an inner class
Correct Answer:

Verified
Correct Answer:
Verified
Q20: Which of the following GUI objects generate(s)
Q21: The event that is generated by a
Q22: What is the best first step in
Q23: Which layout manager uses a grid so
Q24: A _ is a user-interface component with
Q26: The _ interface toolkit has a large
Q27: What method is required by the ChangeListener
Q28: Which of the following is not a
Q29: Which of the following generate action events?<br>A)Buttons<br>B)Menu
Q30: What is the container for top-level menu