pr1.1-1
pr1.1-1
import java.awt.*;
setLayout(new FlowLayout());
// Checkboxes
add(checkboxLabel);
add(checkbox1);
add(checkbox2);
add(checkbox3);
// Radio Buttons
add(radioButtonLabel);
add(radio1);
add(radio3);
// Frame settings
setSize(400, 400);
setVisible(true);
new Pr_1();
Output: