Multiple Choice
Method getSelectedValues of class JList returns:
A) an array of ints representing the indices of the selected items.
B) an array of doubles representing the indices of the selected items.
C) an array of Strings representing the selected items.
D) an array of Objects representing the selected items.
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Some common lightweight component features supported by
Q3: When the arrow on a JComboBox is
Q4: A JScrollPane is provided automatically for which
Q5: Which of the following is not necessary
Q6: Method _-can be used to set the
Q8: The BorderLayout layout manager:<br>A) divides an area
Q9: In what cases are adapter classes useful?<br>A)
Q10: When a component is_- , paintComponent clears
Q11: Which JFrame constant indicates that the program
Q12: Which MouseEvent method can be used to