Solved

The Statement That Would Add SmallButton to the Button Group

Question 32

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents