Solved

The Statement That Would Add SmallButton to the Button Group

Question 69

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions