In what cases are adapter classes useful?
a. When an adapter GUI control is clicked.
b. When every method in the event-listener interface is to use the same functionality.
c. When it is not desirable to declare every method in the event-listener interface.
d. None of the above.
c. When it is not desirable to declare every method in the event-listener interface.
You might also like to view...
Which of the following statements will not produce a syntax error?
a. Defining a const member function that modifies a data member of the object. b. Invoking a non-const member function on a const object. c. Declaring an object to be const. d. Declaring a constructor to be const.
All object states created in the Object States panel are listed on the ____ panel.
A. Selections B. Buttons and Forms C. States D. Appearance