hi i am using java to make a quiz... i am using JFrame and have radio buttons so the user can give his answer. For example:

Who co-stared with Leonardo Dicaprio in the movie Titanic?
Kate winslett.
No i have a radio button in front of it and i have four options. I want to tell the user if its a right or wrong. I wanna compare compare the answwer with the radiobutton he clicked? how do i do that since they are incomparable types?

Similar Questions
    1. answers icon 2 answers
    1. answers icon 1 answer
  1. Consider the following application files:/JavaCS1/src/guiprojectcity2/DisplayWindow.java import java.awt.*; import
    1. answers icon 0 answers
  2. import java.awt.EventQueue;import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.SwingConstants; import
    1. answers icon 1 answer
more similar questions