The _________ constant can be used to display an error message in a message dialog.
a) JOptionPane.ERROR_MESSAGE
b) JOptionPane.ERROR_ICON
c) JOptionPane.ERROR
d) JOptionPane.ERROR_IMAGE
a) JOptionPane.ERROR_MESSAGE
You might also like to view...
What is the effect of the following code fragment?
``` c = -1; for ( int i = MAX_SIZE - 1; i >= 0; --i ) if ( list1[i] == t ) c = i; ``` a. calculates 1 less than the sum of the occurrences of the value of t in list1 b. finds the subscript of the first occurrence of the value of t in list1 (or –1 if it is not found ) c. counts the number of occurrences of –1 in list1 d. counts the number of occurrences of the value of c in list1
The ____ step is the most difficult of the problem-solving steps, and it requires a lot of time, patience, and effort.
A. planning B. desk-check C. analysis D. testing
__________________ capture the state, data, and hardware configuration of a running virtual machine.
Fill in the blank(s) with the appropriate word(s).
It is important to test your code ____.
A. in a variety of popular browsers B. on multiple operating systems C. Both A and B. D. Neither A nor B.