Multiple Choice
What does the following statement do? addButton.addActionListener(new AddButtonListener() ) ;
A) Creates an AddButtonListener object
B) Registers the addButton object as an ActionListener with the AddButtonListener object
C) Creates an AddButtonListener object and registers the AddButtonListener object with the addButton
D) Nothing,the statement is invalid
Correct Answer:

Verified
Correct Answer:
Verified
Q2: This layout manager arranges components in regions
Q4: When a splash screen is displayed, the
Q12: These types of components are coupled with
Q21: Why doesn't the following code compile correctly?
Q28: When using the BorderLayout manager, how many
Q37: To include Swing and AWT components in
Q38: _ is a library of classes that
Q41: Event listeners must:<br>A) implement an interface<br>B) be
Q46: If button1 is a JButton object, which
Q52: Assume that the variable checkbox references a