Ask Question
16 December, 16:40

Which method returns true if the radio button radOne has been selected by the user?

radOne. Selected ()

radOne. Selected (true)

radOne. isSelected (true)

radOne. isSelected ()

+3
Answers (1)
  1. 16 December, 16:56
    0
    radOne. isSelected ()

    Explanation:

    The isSelected method is defined in javax. swing. AbstractButton. JRadioButton is a subclass of AbstractButton and can therefore use the isSelected method to determine the selection state of the RadioButton. This method returns a boolean value. The return value is true if the radio button is selected and it is false otherwise. The application can invoke this method to determine the current state and execute the relevant code segment accordingly.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which method returns true if the radio button radOne has been selected by the user? radOne. Selected () radOne. Selected (true) radOne. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers