Assume that the variable checkbox references a JCheckBox object. To determine whether the check box has been selected, use the following code:
A) if (isSelected(checkBox)) {/*code to execute, if selected*/}
B) if (checkBox.isSelected()) {/*code to execute, if selected*/}
C) if (checkBox) {/*code to execute, if selected*/}
D) if (checkBox.doClick()) {/*code to execute, if selected*/}
B) if (checkBox.isSelected()) {/*code to execute, if selected*/}
Computer Science & Information Technology
You might also like to view...
An envelope size is selected from the ________ dialog box
A) Envelope Options B) Mail merge options C) Mailings option D) Size options
Computer Science & Information Technology
The role of the judge is to determine the facts of a case and render a verdict
Indicate whether the statement is true or false.
Computer Science & Information Technology