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.
C) Creates an AddButtonListener object and registers the AddButtonListener object with the addButton
Computer Science & Information Technology
You might also like to view...
What can be installed without your knowledge?
What will be an ideal response?
Computer Science & Information Technology
The _________ predicts the instruction stream, fetches instructions from the L1 instruction cache, and places the fetched instructions into a buffer for consumption by the decode pipeline.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology