What is the ChoiceGroup class?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is the ChoiceGroup class?

Rating:

The ChoiceGroup class is used to create check boxes and radio buttons. An instance of the ChoiceGroup class can either be exclusive or multiple. The exclusive instance is for radio buttons, and the multiple is for check boxes. The ChoiceGroup instance is created with the following syntax:

ChoiceGroup c= new ChoiceGroup(String label, int choicetype)

Here, the label parameter specifies the caption for the check boxes.

The choicetype parameter specifies one of the following two constants:

  • EXCLUSIVE: It allows a user to choose only one option.
  • MULTIPLE: It allows a user to choose more than one option.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.