Multiple Choice
The statement that would add smallButton to the button group in the following code is _________.
JRadioButton smallButton = new JRadioButton("Small") ;
ButtonGroup group = new ButtonGroup() ;
A) group.add(new smallButton) ;
B) group.add(smallButton) ;
C) smallButton.add() ;
D) You cannot add smallButton to the button group.
Correct Answer:

Verified
Correct Answer:
Verified
Q64: If the method makeMenuItem is called four
Q65: You can add a(n) _ to a
Q66: When a menu item is selected, what
Q67: Which method can a program use to
Q68: The JFrame has a content pane with
Q70: When using a combo box, the _
Q71: Which GUI element allows text entry from
Q72: Consider the scope of the three objects
Q73: Given four JRadioButton objects in a ButtonGroup,
Q74: Which of the following classes have a