Javatpoint Logo
Javatpoint Logo


The Radio Button is used to provide various options to the user. The user can only choose one option among all. A radio button is either selected or deselected. It can be used in a scenario of multiple choice questions in the quiz where only one option needs to be chosen by the student.

The following code shows how one radio button is selected from a toggle group.


JavaFX RadioButton
Next TopicJavaFX CheckBox

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA