Multiple Choice
What is known for certain from this correct code excerpt?
ActionListener openListener = new FileOpenListener() ;
JMenuItem fileOpen = new JMenuItem("Open File") ;
fileOpen.addActionListener(openListener) ;
A) fileOpen will open a file dialog when clicked
B) The fileOpen menu item will be visible
C) The FileOpenListener class implements the ActionListener interface
D) The openListener object will only listen to the fileOpen object
Correct Answer:

Verified
Correct Answer:
Verified
Q58: What type of object can be added
Q59: The code below will not compile successfully
Q60: Which of the following is false about
Q61: a(n. _ is used when you have
Q62: Examine the code below.What type of class
Q64: If the method makeMenuItem is called four
Q65: You can add a(n) _ to a
Q66: When a menu item is selected, what
Q67: Which method can a program use to
Q68: The JFrame has a content pane with