Multiple Choice
If a user enters a value in the text box of an editable combo box and the value is not in the list,what will the method getSelectedIndex return?
A) The index of the item that the user replaced.
B) The index of the item the user entered.
C) -1
D) 0,since the item is not in the list.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: The Dimension class is part of the:<br>A)
Q11: If the argument passed to the showOpenDialog
Q19: The JMenuBar method is a(n):<br>A) JFrame method<br>B)
Q21: The following statement: textList.setSelectionMode(<br>ListSelectModel.SINGLE_INTERVAL_SELECTION);<br>A) sets the textList
Q26: What will display when the following code
Q30: If a user enters a value in
Q33: If addressList exists and has values stored
Q34: What will the following code do when
Q43: When a JList component is added to
Q55: When an item in the combo box