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.


d. an array of Objects representing the selected items.

Computer Science & Information Technology

You might also like to view...

What are the key requirements to keep in mind when creating an INSERT statement?

What will be an ideal response?

Computer Science & Information Technology

On a histogram, the pixels at the far left have a grayscale value of ____.

A. -255 B. -1 C. 0 D. 255

Computer Science & Information Technology

?  When you copy information contained in an Access object such as a report, it is placed on the __________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of following codes of an event handler records the exact window position of the mouse pointer as it maneuvers across an element?

A. document.getElementById("element1").onmouseenter = trackPointer;?function trackPointer(e) {var hPos = e.clientX;document.getElementById("element2").innerText; B. document.getElementById("element1").onmouseclick = trackPointer;?function trackPointer(e) {var vPos = e.clientY;document.getElementById("element2").innerText =" (" + hPos + ", " + vPos + ")";} C. document.getElementById("element1").onmousemove = trackPointer;?function trackPointer(e) {var hPos = e.clientX;var vPos = e.clientY;document.getElementById("element2").innerText =" (" + hPos + ", " + vPos + ")";} D. document.getElementById("element1").onmouseup = trackPointer;?function trackPointer(e) {var hPos = e.clientX;document.getElementById("element2").innerText =" (" + hPos + ", " + vPos + ")";}

Computer Science & Information Technology