How to store answer available in option form in database table?

Hello Rancher, I have one jsp page containing 2o questions retrieved from table along with its possible four-option answer in this manner:Question1: Option-a Option-b Option-c Optio-dAll the options are in radio button form. I am trying to store the result of these question test in my final output table: So, How it is possible to store the result of all question with answer equals to one of the four options in the same row of questioned. Here questioned is same for all questions: Here is fillquestion.jsp page: