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
Q27: Which of the following methods returns the
Q28: When using a combo box, the _
Q29: Which of the following GUI objects generate(s)
Q30: Insert the missing code in the following
Q31: A _ is a user-interface component with
Q33: In an online job application, applicants have
Q34: Which of the following classes has a
Q35: Which of the following is not a
Q36: a(n. _ is used when you have
Q37: A _ is a combination of a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents