Write a short class that represents a panel with a single radio button that has the option "Yes" and the option "No." By default, the Yes button should be checked.
What will be an ideal response?
```
import javax.swing.*;
import java.awt.*;
public class RadioPanel extends JPanel {
private JRadioButton yes, no;
public RadioPanel() {
yes = new JRadioButton("Yes", true);
no = new JradioButton("No");
add(yes);
add(no);
} // end constructor
} // end class RadioPanel
```
Computer Science & Information Technology