Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Q30: JPasswordField contains method _to obtain the data
Q31: A MouseHandler object implements which two interfaces?<br>A)
Q32: Which of the following choices completes the
Q33: The class GridLayout constructs to hold components.<br>A)
Q34: How many event-listener interfaces correspond to each
Q36: By default JScrollPane _.<br>A) always displays scrollbars<br>B)
Q37: GUI event with which the user interacts
Q38: Which method sets the text that's displayed
Q39: A JTextArea _.<br>A) provides a bounding box
Q40: A user of a one-button mouse can