A checkbox is again a label which is displayed as a pushbutton as shown in the example below. This pushbutton can either be checked or unchecked. Therefore, the state of the checkbox is either true or false. However, the initial state is false which is th
Checkbox
A checkbox is again a label which is displayed as a pushbutton as shown in the example below. This pushbutton can either be checked or unchecked. Therefore, the state of the checkbox is either true or false. However, the initial state is false which is the default one. The example below shows the checkbox whose state gets toggled <<<<<<< checkbox.shtml on clicking.
======= on clicking.
>>>>>>> 1.2
|
Here is the Output:
C:\newprgrm>javac MyCheckbox.java C:\newprgrm>appletviewer MyCheckbox.html |