Within an implementation of the itemStateChanged() method, you can use the ____ method to determine which object generated the event, and the getStateChange() method to determine whether the event was a selection or a deselection.

A. getSource()
B. getEvent()
C. getItem()
D. getState()

Answer: C

Computer Science & Information Technology

You might also like to view...

The counter variable in a for statement must be declared ________.

a) first b) second c) third d) None of the above.

Computer Science & Information Technology

The ____________, __________ and ____________ are the only three forms of control necessary.

a. switch, if, else. b. sequence, selection, iteration. c. break, continue, if…else. d. for, while, do…while.

Computer Science & Information Technology