Method getSelectedIndex of class JComboBox returns:

a. the index of the selected item in the JComboBox.
b. the selected item in the JComboBox, as a String.
c. the index of the previously selected item.
d. None of the above.


A

Computer Science & Information Technology

You might also like to view...

A __________ is a dedicated network that provides access to various types of storage devices including tape libraries, optical jukeboxes, and disk arrays.

A) ?CSP ? B) ?DAS C) ?SAN? D) ?NAS

Computer Science & Information Technology

Which of the following is an example of an instant messaging service?

A) Monster B) Yahoo Messenger C) Flickr D) LinkedIn

Computer Science & Information Technology

The visibility property forces the browser to deallocate space for hidden items.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) ____ is a diagram that shows the structure of an algorithm.

A. ER B. UML C. data chart D. flowchart

Computer Science & Information Technology