Check box in java have following
Checkbox();
It has no label
Checkbox(String str)
Here string is the label as description of checkbox
Checkbox(string str boolean true/false)
This is a checkbox with its description with checked or unchecked status.
Checkbox(string str,CheckboxGroup null, boolean true/false)
For coding these:
public calss checkboxclss extends Applet
{
public void init()
{
Checkbox cbox=new Checkbox(string male,boolean true)
add(cbox);
}
}