2. 2.Assign the Layout checkbox to the declared variable
3. 3.Set clicklistener for the checkboxes
4. 4.Write your code to perform once the checkbox is clicked public class Checkbox extends Activity { private CheckBox android, ios, windows; ------------>step 1Checkbox variable defined private Button Click; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //Multiple checkboxes are defined android = (CheckBox) findViewById(R.id.android);--------------->Assign Layout checkbox to the declared variable--------->step 2 ios = (CheckBox) findViewById(R.id.