Multiple Choice
The ____ method of JCheckBox sets the state of the JCheckBox to true for selected or false for unselected.
A) void setSelected(boolean)
B) boolean isSelected()
C) void setText(String)
D) String getText()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: You define the text to be displayed
Q5: Write the statement to create a JCheckBox
Q26: To specify an italic font, you pass
Q34: A _ is a Component the user
Q35: import javax.swing.*;<br>public class JFrameLook<br>{<br>public static void main(String[]
Q47: You can call a JFrame 's setDefaultCloseOperation()
Q48: When setting a JFrame 's size, part
Q64: Write the statement to create a JLabel
Q66: The ActionListener interface contains the _ method
Q71: The _ responds to keyboard events.<br>A) KeyListener<br>B)