Multiple Choice
To determine which item in a list is currently selected use:
A) the getSelectedIndex method
B) the getSelectedValue method
C) both A and B
D) neither A nor B
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: The Dimension class is part of the:<br>A)
Q2: Which of the following assigns ALT+C as
Q3: A mnemonic is:<br>A) A single key on
Q5: In the following code the setPreferredSize method
Q6: This type of combo box combines a
Q7: What will happen when the following code
Q8: If nameList is a JList component, use
Q9: The default directory for the JFileChooser constructor
Q10: What will happen when the following statement
Q11: If the argument passed to the showOpenDialog