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
C) both A and B
You might also like to view...
To delete a label from a form, click the label, then press the ____ key on the keyboard.
A. Cut B. Delete C. Remove D. Purge
________ arises in three different contexts: multiple applications, structured applications, and operating system structure.
Fill in the blank(s) with the appropriate word(s).
Suppose that the class Mystery is derived from the class Secret. Consider the following statements.Secret mySecret = new Secret();Secret secRef;Mystery myMystery = new Mystery();Mystery mysRef;secRef = myMystery;Which of the following statements is legal in Java?(i) mysRef = (Mystery) mySecret;(ii) mysRef = (Mystery) secRef;
A. Only (i) B. Only (ii) C. Both (i) and (ii) D. None of these
The class Graphics provides methods for drawing items such as lines, ovals, and rectangles on the screen.
Answer the following statement true (T) or false (F)