In a controller class, the variable radio1 references a RadioButton component, and outputLabel references a Label component. Write an if statement that determines whether the RadioButton is selected. If the RadioButton is selected, display “Selected” in the outputLabel. Otherwise, display “Not selected” in the outputLabel.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here