Multiple Choice
If myList is a JList component, what will the value of item be after the following statement is executed?
Item = myList.getSelectedIndex() ;
A) The value of the first selected item in the list.
B) An array of objects containing all the selected items in the list.
C) An array containing the indices of all the selected items in the list.
D) The index of the first selected item in the list.
Correct Answer:

Verified
Correct Answer:
Verified
Q9: What will be the result when the
Q10: A mnemonic is<br>A) a single key on
Q11: What will be displayed when the following
Q12: The appearance of a particular system's GUI
Q13: Which of the following statements creates a
Q15: Just like regular radio button components, you
Q16: If nameList is an instance of a
Q17: You assign a tool tip to a
Q18: If multiple items have been selected in
Q19: The ListSelectionListener interface is in the _